bin/91608: tar(1) reports (Empty error message) on truncated
tarballs.
trasz
trasz at pin.if.uz.zgora.pl
Tue Jan 10 10:50:04 PST 2006
>Number: 91608
>Category: bin
>Synopsis: tar(1) reports (Empty error message) on truncated tarballs.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jan 10 18:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: trasz
>Release: 6.0-RC1
>Organization:
>Environment:
FreeBSD traszkan.ds7 6.0-RC1 FreeBSD 6.0-RC1 #0: Sat Oct 29 21:42:46 CEST 2005 trasz at traszkan.ds7:/usr/obj/usr/src/sys/TRASHCAN i386
>Description:
tar(1) reports '(Empty error message)' when trying to list contents or extract truncated archive.
>How-To-Repeat:
[trasz at traszkan:~]$ dd if=mga.tar of=test.tar bs=1k count=100
100+0 records in
100+0 records out
102400 bytes transferred in 0.016331 secs (6270208 bytes/sec)
[trasz at traszkan:~]$ tar tvf test.tar
drwxr-xr-x 0 root wheel 0 Feb 9 2005 mga/
-rw-r--r-- 0 root wheel 41592 Apr 23 2004 mga/mgareg_flags.h
-rw-r--r-- 0 root wheel 804 Nov 14 2003 mga/mga_merge.h
-rw-r--r-- 0 root wheel 523 Apr 23 2004 mga/mga_map.h
-rw-r--r-- 0 root wheel 6063 Apr 23 2004 mga/mga_shadow.c
-rw-r--r-- 0 root wheel 6280 Apr 23 2004 mga/mga_arc.c
-rw-r--r-- 0 root wheel 3104 Jun 16 2004 mga/mga_dri.h
-rw-r--r-- 0 root wheel 2922 Apr 23 2004 mga/mga_macros.h
-rw-r--r-- 0 root wheel 180490 Nov 14 2003 mga/mga_ucode.h
tar: (Empty error message)
[trasz at traszkan:~]$
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list