diff options
author | Denys Vlasenko | 2011-03-02 01:21:02 +0100 |
---|---|---|
committer | Denys Vlasenko | 2011-03-02 01:21:02 +0100 |
commit | b80acf58f16339078da5cbee88a322f2450aa2ad (patch) | |
tree | c542be76efce95b7da793c9736fe92d56afb71c1 /testsuite | |
parent | ea6116ee59af0945f4a6ac9ede984930a0ede429 (diff) | |
download | busybox-b80acf58f16339078da5cbee88a322f2450aa2ad.zip busybox-b80acf58f16339078da5cbee88a322f2450aa2ad.tar.gz |
tar: skip leading / and handle names like abc/..////def -> def (not ///def)
function old new delta
strip_unsafe_prefix - 105 +105
writeFileToTarball 557 520 -37
get_header_tar 1545 1462 -83
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'testsuite')
-rwxr-xr-x | testsuite/tar.tests | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tar.tests b/testsuite/tar.tests index d41d10d..534135d 100755 --- a/testsuite/tar.tests +++ b/testsuite/tar.tests @@ -178,7 +178,7 @@ rm -rf input_* 2>/dev/null tar -vxf test.tar 2>&1 cat input_dir/file 2>&1 " "\ -tar: removing leading './../tar.tempdir/input_dir/../' +tar: removing leading './../tar.tempdir/input_dir/../' from member names input_dir/ input_dir/file Ok |