Subject: bin/25824: gunzip not handling timestamp ... orig_name
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 06/05/2004 10:16:37
>Number:         25824
>Category:       bin
>Synopsis:       gunzip missing code to handle timestamp upto orig_name
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 05 00:34:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Geoff C. Wing
>Release:        NetBSD 2.0F
>Organization:
>Environment:
System: NetBSD g.primenet.com.au 2.0F NetBSD 2.0F (G) #0: Thu Jun 3 22:43:39 EST 2004 gcw@g.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/G i386
Architecture: i386
Machine: i386
>Description:
	in gzip.c:file_uncompress() it reads the 4 byte header, fails to
	read the timestamp, continuation and extra fields then tries to
	read the orig_name.  Restored files get garbage names, timestamp
	not set correctly.

	it looks like a big chunk of code was elided or never added properly

>How-To-Repeat:
	gzip/gunzip with name flag set.
>Fix:
	?
>Release-Note:
>Audit-Trail:
>Unformatted: