Date: Fri, 25 Jun 2004 05:28:00 +0000 (UTC) From: "David E. O'Brien" <obrien@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/bin/pax ar_io.c Message-ID: <200406250528.i5P5S0aV004165@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
obrien 2004-06-25 05:28:00 UTC
FreeBSD src repository
Modified files:
bin/pax ar_io.c
Log:
Don't continue if the '-C' option (a-la GNUtar; commited in options.c
rev 1.18, but not documented in the man page) caused a failed chdir.
Otherwise, one can easily overwrite files.
Submitted by: Robert Nagy <robert@openbsd.org>
Obtained from: OpenBSD
Revision Changes Path
1.25 +3 -1 src/bin/pax/ar_io.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406250528.i5P5S0aV004165>
