GNU bug report logs - #49721
NAME flag incorrectly set

Previous Next

Package: gzip;

Reported by: gb2985 <at> gmail.com

Date: Sat, 24 Jul 2021 16:32:01 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: Lee Shallis <gb2985 <at> gmail.com>
To: 49721 <at> debbugs.gnu.org
Subject: bug#49721: NAME flag incorrectly set
Date: Sat, 24 Jul 2021 11:14:25 +0100
I've been following a guide on the deflate algorithm (because I wanted
one where I could control how memory is allocated just as Lua allows)
and found when I put this:

echo "hello hello hello hello" | gzip

into the terminal gzip incorrectly set the NAME flag, it was only
after editing it out I was able to deflate the resulting file, the
same applies for this:

echo -n "abaabbbabaababbaababaaaabaaabbbbbaa" | gzip

Both of which are the examples given on
https://blog.za3k.com/understanding-gzip-2/




This bug report was last modified 3 years and 352 days ago.

Previous Next


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