]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Issue 225: Misreading directories in MSDOS Zip files.
authorTim Kientzle <kientzle@gmail.com>
Mon, 23 Jan 2012 03:21:30 +0000 (22:21 -0500)
committerTim Kientzle <kientzle@gmail.com>
Mon, 23 Jan 2012 03:21:30 +0000 (22:21 -0500)
commit8a8a13d6573efb49e7eea4a49137f5ee7d196824
treea8d048b3165606472c351534de26cfa6ded1488e
parentdc9a0fb48916e114309aaf88f0de178e83a04c9e
Issue 225: Misreading directories in MSDOS Zip files.

These files don't put a POSIX "mode" value in the "external
attributes" field.  We used to always assume a regular file if we
didn't see that.

Now, the code leaves the mode set to zero in that case.  When we read
the local file header, the fallback heuristics will kick in and
examine the filename to determine whether this is a directory
or a regular file.

SVN-Revision: 4190
Makefile.am
libarchive/archive_read_support_format_zip.c
libarchive/test/test_compat_zip.c
libarchive/test/test_compat_zip_6.zip.uu [new file with mode: 0644]