]> git.ipfire.org Git - thirdparty/libarchive.git/commit
ZIP reader: fixed an unlimited loop in BZIP2 decompressor. 1153/head
authorGrzegorz Antoniak <ga@anadoxin.org>
Thu, 28 Feb 2019 06:26:25 +0000 (07:26 +0100)
committerGrzegorz Antoniak <ga@anadoxin.org>
Fri, 1 Mar 2019 08:26:51 +0000 (09:26 +0100)
commitb94eb5befa20c6b66b9d4218e5595fbd545fbba5
tree0f75423dfd797b43ddabf19e04951c9dcd406bbf
parent9b052bdcc299ad4bf812c89c266c9fb909715ebf
ZIP reader: fixed an unlimited loop in BZIP2 decompressor.

The hang was triggered on invalid zipx files that declare more data than
there actually is in the file.

This case was found by fuzzing the zipx file.
libarchive/archive_read_support_format_zip.c
libarchive/test/test_read_format_zip.c
libarchive/test/test_read_format_zip_bz2_hang.zip.uu [new file with mode: 0644]