aboutsummaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2024-11-08 12:48:57 +0000
committerRon Yorston <rmy@pobox.com>2024-11-08 13:08:47 +0000
commit0e958a72e1780138e68c799792190085cf505ee7 (patch)
treea8febeac10f73ab1ca9d0c9a5d5f1fe1b581496c /TODO
parentbd258eabf2931024c5c24f9c11ce192cdaf23bd5 (diff)
downloadbusybox-w32-0e958a72e1780138e68c799792190085cf505ee7.tar.gz
busybox-w32-0e958a72e1780138e68c799792190085cf505ee7.tar.bz2
busybox-w32-0e958a72e1780138e68c799792190085cf505ee7.zip
tar: try harder to detect old tar files
The code to autodetect compressed tar files failed to detect a bunzip2-compressed archive. When tar was invoked with the 'j' option it worked fine. The autodetection code looks for the magic string 'ustar' or a series of five NULs to determine that an archive is uncompressed. The failing archives had more than five NULs in the header and were taken to be uncompressed. Look for a longer run of NULs: 16 is certainly sufficient for the archives in question. Adds 8-16 bytes. (GitHub issue #475)
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions