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>
This commit is contained in:
Denys Vlasenko 2018-11-27 12:09:01 +01:00
parent e80d04b574
commit 403d2574be

View File

@ -414,7 +414,8 @@ char FAST_FUNC get_header_tar(archive_handle_t *archive_handle)
// case 'D': /* GNU dump dir */ // case 'D': /* GNU dump dir */
// case 'M': /* Continuation of multi volume archive */ // case 'M': /* Continuation of multi volume archive */
// case 'N': /* Old GNU for names > 100 characters */ // case 'N': /* Old GNU for names > 100 characters */
// case 'V': /* Volume header */ case 'V': /* Volume header */
; /* Fall through to skip it */
#endif #endif
} }
skip_ext_hdr: skip_ext_hdr: