wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wget-dev] wget2 | Decompressor: Check call to inflateEnd (#480)


From: Tim Rühsen
Subject: [Wget-dev] wget2 | Decompressor: Check call to inflateEnd (#480)
Date: Sat, 21 Sep 2019 10:35:36 +0000


Tim Rühsen created an issue: https://gitlab.com/gnuwget/wget2/issues/480



>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.
```

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/issues/480
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]