Please sign in to comment.
RAR reader: fix use after free
If read_data_compressed() returns ARCHIVE_FAILED, the caller is allowed to continue with next archive headers. We need to set rar->start_new_table after the ppmd7_context got freed, otherwise it won't be allocated again. Reported by: OSS-Fuzz issue 2582
- Loading branch information...
Showing with 3 additions and 1 deletion.