diff options
author | mm <mm@FreeBSD.org> | 2016-10-12 10:28:22 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2016-10-12 10:28:22 +0000 |
commit | 7f8f8a43cae54b88ca06ba3674a79204ee698a54 (patch) | |
tree | 863e52c86db80e8b9c5e1f3ae1f70921a4c739d8 /contrib/libarchive/tar/subst.c | |
parent | 7c05d1bcc3ae1e7fdf6581cd249a5b0de28fd5c2 (diff) | |
download | FreeBSD-src-7f8f8a43cae54b88ca06ba3674a79204ee698a54.zip FreeBSD-src-7f8f8a43cae54b88ca06ba3674a79204ee698a54.tar.gz |
MFC r306670:
Sync libarchive with vendor including security fixes.
Important vendor bugfixes (relevant to FreeBSD):
#747: Out of bounds read in mtree parser
#761: heap-based buffer overflow in read_Header (7-zip)
#794: Invalid file on bsdtar command line results in internal errors (1)
PR: 213092 (1)
Diffstat (limited to 'contrib/libarchive/tar/subst.c')
-rw-r--r-- | contrib/libarchive/tar/subst.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libarchive/tar/subst.c b/contrib/libarchive/tar/subst.c index 37905dc..48370b2 100644 --- a/contrib/libarchive/tar/subst.c +++ b/contrib/libarchive/tar/subst.c @@ -84,6 +84,7 @@ add_substitution(struct bsdtar *bsdtar, const char *rule_text) if (rule == NULL) lafe_errc(1, errno, "Out of memory"); rule->next = NULL; + rule->result = NULL; if (subst->last_rule == NULL) subst->first_rule = rule; |