]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Allow tar header fields without null terminator 825/head
authorJan Osusky <Jan.Osusky@iblsoft.com>
Wed, 23 Nov 2016 19:24:38 +0000 (20:24 +0100)
committerJan Osusky <Jan.Osusky@iblsoft.com>
Wed, 23 Nov 2016 19:24:38 +0000 (20:24 +0100)
commitf6945e55ab3d374538f9898135efc4b13c541595
tree52fa155feaa6fefffee7e555cc8220e6c62db7c6
parent6fd0da803f77df1fc2940a4fd78177cd1443b3a5
Allow tar header fields without null terminator

The "archive_read_format_tar_bid" and related "validate_number_field"
were revisited to allow one more non-standard way of coding UID/GID
and similar number fields in the tar header.
Modified "test_compat_gtar" to verify reading of such value.
libarchive/archive_read_support_format_tar.c
libarchive/test/test_compat_gtar.c
libarchive/test/test_compat_gtar_2.tar.uu