[Top][All Lists]

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

WG: Supposed bug found ==> fixed

From: Mecky, Walter (Allianz ASIC)
Subject: WG: Supposed bug found ==> fixed
Date: Tue, 20 May 2008 10:02:55 +0200

Sorry about my message. Please ignore it.

*After* writing it I noticed that I did not test 1.3.12. And here this bug is 
fixed. What a shame ...


>Von:   Mecky, Walter (Allianz ASIC)  
>Gesendet:      Dienstag, 20. Mai 2008 09:34
>An:    'address@hidden'; 'address@hidden'
>Betreff:       Supposed bug found
>I don't know if these addresses are current and so first I want to ask if this 
>is the right one? I'm unsure because I found no newer stable version as 1.2.4 
>at www.gzip.org and www.gnu.org.
>I think I found a bug in gzip in all versions I explored: from 1.2.4 until 
>1.3.12: if gzip is killed by some signal, for example SIGINT generated by the 
>intr character from your tty, it does an exit(1). So the caller cannot detect 
>that gzip was killed. It seems as a normal exit with exitcode 1.
>So the shell shows in "$?" the value 1 which is wrong. It should be 128+2 or 
>256+2. Some shells, for example bash, continue a script which the user want to 
>terminate. They would not do this if they detect that a process dies because 
>it was killed.
>The fix would be easy: gzip should restore the signal handling to default 
>after catching the signal and send this signal again to itself. I changed the 
>sourcecode and can give it to you if you want?
>Walter Mecky
>Allianz Shared Infrastructure Services
>AG2SES06 - Firewall Technologien und Netz Security
>Windmühlstraße 14, 2. OG, Raum 2.189
>D-60627 Frankfurt am Main
>Phone +49 69 263 19028
>Fax +49 69 263 83948
>E-Mail address@hidden
>Allianz Shared Infrastructure Services GmbH: 
>Chairman of the Supervisory Board: Dr. Friedrich Wöbking 
>Management Board: Dr. Markus T. Müller (CTO), Dr. Kurt Servatius (COO)
>For VAT-Purposes: VAT-Registration Number: DE 191 050 484 
>Registered Office: Munich 
>Comm Reg.: München HRB 118 195
>Please note: This email and any files transmitted with it is intended only for 
>the named recipients and may contain confidential and/or privileged 
>information. If you are not the intended recipient, please do not read, copy, 
>use or disclose the contents of this communication to others and notify the 
>sender immediately. Then please delete the email and any copies of it. Thank 

reply via email to

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