bin/74385: libarchive - archive_write_header_pax: 'x' header failed

Michal Listos mcl at wro-com.net
Thu Nov 25 11:10:25 PST 2004


>Number:         74385
>Category:       bin
>Synopsis:       libarchive - archive_write_header_pax: 'x' header failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 25 19:10:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Michal Listos
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
WRO-COM
>Environment:
System: FreeBSD madhatter 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Tue Nov  9 13:22:05 CET 2004     root at madhatter:/usr/obj/usr/src/sys/madhatter  i386

bsdtar 1.01.011, libarchive 1.01.013
bsdtar 1.01.020, libarchive 1.01.020

>Description:
bsdtar is unable to archive attached directory.
Looks like both the non-printable character (which was an unicode
char in original name), and some directory depth/name length 
are needed to trigger this bug.
I failed to debug that issue.

>How-To-Repeat:

# tar -xjf libarchivebug.tbz2
# cd libarchivebug
# tar -cf test.tar 1111111111111111111111111111111111111111111111111
archive_write_header_pax: 'x' header failed?!  This can't happen.

GNU tar archive with the problematic path follows.

begin 644 libarchivebug.tbz2
M0EIH.3%!62936;<%C/,``;O_Q<R``$102_^`0`08`'KMGX""```!0```"#`!
M4#&,#(,@`,1H,AD!@BBF31$TQ--#T(!HT!H"I5'J&B-#!#$PC`333>IR`T?T
M1ZNT,F+N*Q5A`FR at M-G=$=N4UZ&](4R*RF3J<2IA<F".P"!6HK>R!`W`<@+A
M,YAN7FZG=QW[\N#1:C<4HZ3'7*KUP*Z(%?%TJ.N'Q@,$@*IV'4E%S521=:WA
M?G24HQPV@\V!"&PYJL!TVM9FXG&0L5F at 1C9P3!):$6F="6LD7I&*X7S:Z:A;
MBVNTM+\OS+/N>D38-XYCD/H=AT%!V'6?X_AP'*6"[+!7ALZUI.\Q3RF(4'<,
8PQB at J,PJ,`Z"RJ6HD:+N2*<*$A;@L9Y@
`
end

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list