Subject: PR/20228 CVS commit: src/bin/pax
To: None <christos@netbsd.org, gnats-admin@netbsd.org,>
From: Christos Zoulas <christos@netbsd.org>
List: netbsd-bugs
Date: 04/24/2005 03:27:01
The following reply was made to PR bin/20228; it has been noted by GNATS.
From: Christos Zoulas <christos@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/20228 CVS commit: src/bin/pax
Date: Sun, 24 Apr 2005 03:26:03 +0000 (UTC)
Module Name: src
Committed By: christos
Date: Sun Apr 24 03:26:03 UTC 2005
Modified Files:
src/bin/pax: buf_subs.c
Log Message:
PR/20228: Simon Burge: pax has problems reading a particular cpio archive
The problem here is that the archive is too short (< 512 bytes). The
buffer routines, try to read at least 512 bytes, even when we try to determine
what format file we have, which is wrong.
To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 src/bin/pax/buf_subs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.