From nobody@FreeBSD.ORG  Sat Oct 14 22:52:03 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id CFDBB37B503; Sat, 14 Oct 2000 22:52:03 -0700 (PDT)
Message-Id: <20001015055203.CFDBB37B503@hub.freebsd.org>
Date: Sat, 14 Oct 2000 22:52:03 -0700 (PDT)
From: mcl@mtl.pl
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: use of -s and -C causes tar to dump core
X-Send-Pr-Version: www-1.0

>Number:         21996
>Category:       gnu
>Synopsis:       use of -s and -C causes tar to dump core
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 14 23:00:01 PDT 2000
>Closed-Date:    Thu Aug 22 10:19:08 PDT 2002
>Last-Modified:  Thu Aug 22 10:19:08 PDT 2002
>Originator:     Michal Listos
>Release:        -STABLE, -CURRENT
>Organization:
pwn.pl
>Environment:
FreeBSD zyguzygu.wroc.vm.pl 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Oct  9 19:21
:58 CEST 2000     root@zyguzygu.wroc.vm.pl:/usr/src/sys/compile/foo  i386
>Description:
use of --same-order with -C causes tar to dump core
>How-To-Repeat:
tar -C /some/dir -spxf somefile.tar
>Fix:
--- /usr/src/gnu/usr.bin/tar/tar.c      Wed Jul  5 12:31:16 2000
+++ tar.c       Sun Oct 15 07:50:56 2000
@@ -1030,7 +1030,6 @@
            {
              p = name_next (0);
              chdir_name = p ? strdup(p) : p;
-             p = name_next (0);
              if (!chdir_name)
                {
                  msg ("Missing file name after -C");

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->patched 
State-Changed-By: sobomax 
State-Changed-When: Tue Jun 4 10:44:42 PDT 2002 
State-Changed-Why:  
Modern GNU tar which was just imported into the -CURRENT doesn't have this 
problem. Therefore, the problem will befilly resolved when tar upgrade is 
MFC'ed in about 1 month. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21996 
State-Changed-From-To: patched->closed 
State-Changed-By: johan 
State-Changed-When: Thu Aug 22 10:18:44 PDT 2002 
State-Changed-Why:  
GNU tar 1.13.25 has been MFCed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=21996 
>Unformatted:
