Decompressor: Check call to inflateEnd
From an email from Antonio Diaz Diaz:
I also see that 'gzip_exit' calls 'inflateEnd', but 'zlib.h' tells the following about 'inflateEnd':
"This function discards any unprocessed input and does not flush any pending output."
So (apparently) if the compressed input feed to 'sitemap_parse_xml_gz' is truncated, it will produce a truncated output which should be detected by the XML parser (I guess). Similarly for http responses, etc.