bug#28861: Unpack support broken in 1.8 by bad end-of-block check

2017-10-27 Thread Jim Meyering
On Mon, Oct 16, 2017 at 1:06 AM, Paul Eggert wrote: > Thanks for the bug report. I installed the attached patch, which is a bit > different from what you proposed but has the same basic idea. Please give it > a try. I'm marking this bug as fixed; if I'm wrong we can always unmark it > and continue

bug#28861: Unpack support broken in 1.8 by bad end-of-block check

2017-10-16 Thread Paul Eggert
Thanks for the bug report. I installed the attached patch, which is a bit different from what you proposed but has the same basic idea. Please give it a try. I'm marking this bug as fixed; if I'm wrong we can always unmark it and continue. >From 0c524476d28cd0511901b3c2bcee311662be310a Mon Sep 1

bug#28861: Unpack support broken in 1.8 by bad end-of-block check

2017-10-16 Thread Vidar Holen
Hi, it appears that `unpack` support is broken in gzip 1.8. Here are steps to reproduce: $ printf '\x1f\x1e\x00\x00\x00\x06\x03\x01\x01\x00\x61\x6e\x62\x16\xc8' > test.z $ sha1sum test.z 077b34196a50fa1c93f58892de828c2d4a558e40 test.z Here's what `gzip` currently says: $ gzip -