Subject: bin/26241: gzip(1) accesses out of array
To: None <>
From: None <>
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
>Originator:     YAMAMOTO Takashi <>
>Release:        NetBSD 2.0F

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
	file_uncompress() assumes that the input file has a suffix
	of the same length as the "cannonical" one of the detected format.
	see below.
	% echo abc|gzip>a
	% gzip -d a
	gzip: unknown suffix d

	% echo abc|gzip>0123456
	% gzip -d 0123456
	gzip: unknown suffix 456