]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Issue 402: Failed to recognize empty dir name in lha/lzh file
authorTim Kientzle <kientzle@acm.org>
Sat, 7 Feb 2015 21:32:58 +0000 (13:32 -0800)
committerTim Kientzle <kientzle@acm.org>
Sat, 7 Feb 2015 21:32:58 +0000 (13:32 -0800)
commite8a2e4d2e6b450a239bb8f9d74239fa434bf7d35
tree4beb79e373f760bd9c06f4afb9ab40005ffc4e2a
parent05a875fdb876e7a2f56a2937f756927cbed919e0
Issue 402: Failed to recognize empty dir name in lha/lzh file

When parsing a directory name, we checked for the name
length being zero, but not for the first byte being a
null byte.  Add a similar check for the file case.
libarchive/archive_read_support_format_lha.c