[BusyBox-cvs] [BusyBox 0000383]: tar cannot add / to archive
bugs at busybox.net
bugs at busybox.net
Sat Aug 13 11:54:03 UTC 2005
The following issue has been SUBMITTED.
======================================================================
http://busybox.net/bugs/view.php?id=383
======================================================================
Reported By: ml
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 383
Category: Other
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
======================================================================
Date Submitted: 08-13-2005 04:54 PDT
Last Modified: 08-13-2005 04:54 PDT
======================================================================
Summary: tar cannot add / to archive
Description:
tar overwrites the last / of path command line options with \0. If the path
is / this results in an empty string which cannot be found. Example:
# tar -cv / > /dev/null
tar: : No such file or directory
tar: Error exit delayed from previous errors
I have attached a patch which checks if the position to be overwritten
with \0 is equal to the beginning of the option.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
08-13-05 04:54 ml New Issue
08-13-05 04:54 ml Status new => assigned
08-13-05 04:54 ml Assigned To => BusyBox
08-13-05 04:54 ml File Added: tar.patch
======================================================================
More information about the busybox-cvs
mailing list