Subject: CVS commit: src/bin/pax
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 09/24/2005 17:05:22
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.