Subject: PR/30627 CVS commit: src/bin/pax
To: None <,>
From: David Laight <>
List: netbsd-bugs
Date: 09/24/2005 17:06:02
The following reply was made to PR bin/30627; it has been noted by GNATS.

From: David Laight <>
Subject: PR/30627 CVS commit: src/bin/pax
Date: Sat, 24 Sep 2005 17:05:22 +0000 (UTC)

 Module Name:	src
 Committed By:	dsl
 Date:		Sat Sep 24 17:05:22 UTC 2005
 Modified Files:
 	src/bin/pax: ftree.c pax.h
 Log Message:
 Don't leave arcn->org_name pointing to ftent->fts_path, if we being cpio
 then ftent is freed just below.  Take a copy of the name and point org_name
 at the copy.
 Should fix PR/30627 (the fix in the PR will break pax and tar!)
 To generate a diff of this commit:
 cvs rdiff -r1.32 -r1.33 src/bin/pax/ftree.c
 cvs rdiff -r1.24 -r1.25 src/bin/pax/pax.h
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.