From owner-cvs-src@FreeBSD.ORG Fri Jun 25 05:50:11 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A659216A4D0; Fri, 25 Jun 2004 05:50:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7117843D4C; Fri, 25 Jun 2004 05:50:11 +0000 (GMT) (envelope-from obrien@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5P5S0u5004166; Fri, 25 Jun 2004 05:28:00 GMT (envelope-from obrien@repoman.freebsd.org) Received: (from obrien@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5P5S0aV004165; Fri, 25 Jun 2004 05:28:00 GMT (envelope-from obrien) Message-Id: <200406250528.i5P5S0aV004165@repoman.freebsd.org> From: "David E. O'Brien" Date: Fri, 25 Jun 2004 05:28:00 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/bin/pax ar_io.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 05:50:11 -0000 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 Obtained from: OpenBSD Revision Changes Path 1.25 +3 -1 src/bin/pax/ar_io.c