GNU bug report logs - #32375
Bug Gzip v1.9

Previous Next

Package: gzip;

Reported by: Johannes Przybilla <johannes.przybilla <at> rwth-aachen.de>

Date: Mon, 6 Aug 2018 15:21: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: Johannes Przybilla <johannes.przybilla <at> rwth-aachen.de>, 32375 <at> debbugs.gnu.org
Cc: Bdale Garbee <bdale <at> gag.com>
Subject: bug#32375: Bug Gzip v1.9
Date: Mon, 6 Aug 2018 14:47:43 -0700
[Message part 1 (text/plain, inline)]
Thanks for reporting the bug. Although I doubt whether it can occur on any 
practical platform, we should fix it even if it's just theoretical. I installed 
into gzip master on savannah the attached patch, which I hope fixes the problem; 
please give it a try.

The SYMBIOSYS tool did not discover a related theoretical bug with the 
'caught_signals' variable, which also is used inside a signal handler despite 
not being volatile, so you might want to look into that. The attached patch 
should fix this related bug too.

I am CC'ing this to Bdale Garbee, since much of this patch brings in a Gnulib 
replacement for sigaction that I expect nowadays is used only on mingw, and 
Bdale is my mingw guru (see Bug#32305).
[0001-Fix-some-theoretical-races-in-signal-handling.patch (text/x-patch, attachment)]

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

Previous Next


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