aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_read_support_format_rar.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2019-06-17 11:29:32 +0000
committerMartin Matuska <mm@FreeBSD.org>2019-06-17 11:29:32 +0000
commitc31a08f64d5475900060540bea0d534466f88f6e (patch)
tree7151200bec01abd278d8b576cf3d11c7b9e86860 /libarchive/archive_read_support_format_rar.c
parent67e87fe612adae8fa61bc9f81274099c292fa8d9 (diff)
downloadsrc-c31a08f64d5475900060540bea0d534466f88f6e.tar.gz
src-c31a08f64d5475900060540bea0d534466f88f6e.zip
Update vendor/libarchive/dist to git 809f0dc32fff7434aef45a7c688fa285c7208af7
Relevant vendor changes: PR #1212: RAR5 reader - window_mask was not updated correctly (OSS-Fuzz 15278) OSS-Fuzz 15120: RAR reader - extend use after free bugfix Add HAVE_UNLINKAT to config_freebsd.h
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=349134
Diffstat (limited to 'libarchive/archive_read_support_format_rar.c')
-rw-r--r--libarchive/archive_read_support_format_rar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_read_support_format_rar.c b/libarchive/archive_read_support_format_rar.c
index 49360876c2ac..41e5a3cadd90 100644
--- a/libarchive/archive_read_support_format_rar.c
+++ b/libarchive/archive_read_support_format_rar.c
@@ -1027,6 +1027,7 @@ archive_read_format_rar_read_data(struct archive_read *a, const void **buff,
if (ret != ARCHIVE_OK && ret != ARCHIVE_WARN) {
__archive_ppmd7_functions.Ppmd7_Free(&rar->ppmd7_context);
rar->start_new_table = 1;
+ rar->ppmd_valid = 0;
}
break;