diff options
author | Martin Matuska <martin@matuska.org> | 2019-06-15 22:32:35 +0200 |
---|---|---|
committer | Martin Matuska <martin@matuska.org> | 2019-06-15 22:35:08 +0200 |
commit | cb76165ac5b091545c32d26483b0c0d7a2c47e4f (patch) | |
tree | 72cb8da7941d6cfcd86dd5085aa7dbaa6443de3e /Makefile.am | |
parent | 8dee29db3ec1054ff571d7559a115003ac8854b3 (diff) | |
download | libarchive-cb76165ac5b091545c32d26483b0c0d7a2c47e4f.tar.gz |
RAR reader: extend fix user after free
If read_data_compressed() returns ARCHIVE_FAILED, the caller is allowed
to continue with next archive headers. In addition to
rar->start_new_table=1 we need to set rar->ppmd_valid=0.
Reported by: OSS-Fuzz issue 15120
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index da78b24a..1ac3218a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -826,6 +826,7 @@ libarchive_test_EXTRA_DIST=\ libarchive/test/test_read_format_rar_noeof.rar.uu \ libarchive/test/test_read_format_rar_ppmd_lzss_conversion.rar.uu \ libarchive/test/test_read_format_rar_ppmd_use_after_free.rar.uu \ + libarchive/test/test_read_format_rar_ppmd_use_after_free2.rar.uu \ libarchive/test/test_read_format_rar_sfx.exe.uu \ libarchive/test/test_read_format_rar_subblock.rar.uu \ libarchive/test/test_read_format_rar_unicode.rar.uu \ |