summaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/tar/subst.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/tar/subst.c')
-rw-r--r--contrib/libarchive/tar/subst.c1
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;
OpenPOWER on IntegriCloud