GNU bug report logs - #56247
inflate fails to reject invalid distance

Previous Next

Package: gzip;

Reported by: Young Mo Kang <kym327 <at> gmail.com>

Date: Mon, 27 Jun 2022 03:22:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Young Mo Kang <kym327 <at> gmail.com>
Cc: 56247 <at> debbugs.gnu.org, Mark Adler <madler <at> alumni.caltech.edu>
Subject: bug#56247: inflate fails to reject invalid distance
Date: Mon, 27 Jun 2022 14:10:11 -0500
[Message part 1 (text/plain, inline)]
On 6/26/22 22:21, Young Mo Kang wrote:
> I believe GNU gzip also needs to reject this file, since the file is not a valid deflate format.

gzip is compatible with pigz here. It's not clear to me that gzip should 
be pedantic and reject input that does not strictly conform to RFC 1952.

I'll cc this to Mark Adler in hopes that he has an opinion. Mark, if I 
understand things correctly, the complaint is that the attached 
"compressed" file does not conform to RFC 1952, but gzip and pigz do not 
complain about it. You can see the original gzip bug report here:

https://bugs.gnu.org/56247
[bad-gzip-data (application/octet-stream, attachment)]

This bug report was last modified 2 years and 332 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.