Subject: bin/26241: gzip(1) accesses out of array
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yamt@mwd.biglobe.ne.jp>
List: netbsd-bugs
Date: 07/11/2004 18:17:56
>Number:         26241
>Category:       bin
>Synopsis:       gzip(1) accesses out of array
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 11 09:19:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
>Release:        NetBSD 2.0F
>Organization:

>Environment:
	
	
System: NetBSD kaeru 2.0F NetBSD 2.0F (build.kaeru) #1518: Thu Jul 8 16:09:03 JST 2004 takashi@kaeru:/home/takashi/work/kernel/build.kaeru i386
Architecture: i386
Machine: i386
>Description:
	file_uncompress() assumes that the input file has a suffix
	of the same length as the "cannonical" one of the detected format.
	see below.
>How-To-Repeat:
	% echo abc|gzip>a
	% gzip -d a
	gzip: unknown suffix d

	% echo abc|gzip>0123456
	% gzip -d 0123456
	gzip: unknown suffix 456
>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: