]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Issue 407: Tar reader tries to examine last character of an empty filename
authorTim Kientzle <kientzle@acm.org>
Sat, 21 Feb 2015 17:36:23 +0000 (09:36 -0800)
committerTim Kientzle <kientzle@acm.org>
Sat, 21 Feb 2015 17:36:23 +0000 (09:36 -0800)
commitbb9b157146a62e655fb369b32684398c949fa1b1
tree10a6ebe0e824cc84f76bf5fe0e5f3681bf7d5b00
parentd3b4ca1dd7d23166feebe1a0c0e57e2157dd6348
Issue 407: Tar reader tries to examine last character of an empty filename

Of interest:  While working on this, I noted that we have
an existing test for tar files with empty filenames.
That test asserts that the correct behavior here is for the
format handler to return the entry with the empty filename
and a status of ARCHIVE_OK.  Clients need to be robust against
empty filenames.
libarchive/archive_read_support_format_tar.c