]> git.ipfire.org Git - thirdparty/libarchive.git/commit
zip: check filename crc in Info-ZIP Unicode Path Extra Field 1201/head
authorMike Frysinger <vapier@gentoo.org>
Fri, 17 May 2019 10:53:18 +0000 (22:53 +1200)
committerMike Frysinger <vapier@gentoo.org>
Fri, 17 May 2019 10:53:18 +0000 (22:53 +1200)
commitff9d82663d54f13c27997744ee1949655004a86b
tree215731bedca2f00cd4ade0cd16eb91a9d111ba34
parent116cf2c71d598f659fe1558569110e6d2b8f4ef5
zip: check filename crc in Info-ZIP Unicode Path Extra Field

The 0x7075 extension includes a crc of the filename that's in the CDE
to make sure that the UTF8 string is always up to date.  If an older
tool updates the CDE but doesn't update the 0x7075 field, we want to
ignore the UTF8 string since it's stale.
libarchive/archive_read_support_format_zip.c
libarchive/test/test_read_format_zip_7075_utf8_paths.c
libarchive/test/test_read_format_zip_7075_utf8_paths.zip.uu