]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Relax sanity checks of number fields in tar header even more.
authorMartin Matuska <martin@matuska.org>
Mon, 5 Dec 2016 00:05:12 +0000 (01:05 +0100)
committerMartin Matuska <martin@matuska.org>
Mon, 5 Dec 2016 00:43:17 +0000 (01:43 +0100)
commit9b9cdbec87524732d7341aaa0d439ad1a6254419
tree9de33ccaae6017c895a52440601ba7413ee9f7ce
parent7c2ffc204a37e52375678b902999be4215d790a9
Relax sanity checks of number fields in tar header even more.

This fixes reading tar archives created by plexus-archiver (used e.g. by
maven-assembly-plugin to create source and binary tar distributions)
version 2.6.2 and lower. These archives may have entries with uid and gid
header fields filled with spaces without any octal digits.

Fixes #832
Makefile.am
libarchive/archive_read_support_format_tar.c
libarchive/test/CMakeLists.txt
libarchive/test/test_compat_plexus_archiver_tar.c [new file with mode: 0644]
libarchive/test/test_compat_plexus_archiver_tar.tar.uu [new file with mode: 0644]