aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-11-27 12:09:01 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-11-27 12:09:01 +0100
commit403d2574be8f8c41aa46f73dec5f998b2cbf2790 (patch)
tree389e43a1d157fd75ed85f1fcdd6cd4a40cfa67b7
parente80d04b574456c2248bb38eee5a771dcd65b592c (diff)
downloadbusybox-w32-403d2574be8f8c41aa46f73dec5f998b2cbf2790.tar.gz
busybox-w32-403d2574be8f8c41aa46f73dec5f998b2cbf2790.tar.bz2
busybox-w32-403d2574be8f8c41aa46f73dec5f998b2cbf2790.zip
tar: skip 'V' headers (GNU volume label), closes 11526
function old new delta get_header_tar 1696 1690 -6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--archival/libarchive/get_header_tar.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/libarchive/get_header_tar.c b/archival/libarchive/get_header_tar.c
index 5c495e14e..52fa4554a 100644
--- a/archival/libarchive/get_header_tar.c
+++ b/archival/libarchive/get_header_tar.c
@@ -414,7 +414,8 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle)
414// case 'D': /* GNU dump dir */ 414// case 'D': /* GNU dump dir */
415// case 'M': /* Continuation of multi volume archive */ 415// case 'M': /* Continuation of multi volume archive */
416// case 'N': /* Old GNU for names > 100 characters */ 416// case 'N': /* Old GNU for names > 100 characters */
417// case 'V': /* Volume header */ 417 case 'V': /* Volume header */
418 ; /* Fall through to skip it */
418#endif 419#endif
419 } 420 }
420 skip_ext_hdr: 421 skip_ext_hdr: