From: Martin Matuska Date: Thu, 30 Jan 2020 23:29:35 +0000 (+0100) Subject: mtree reader: initialize checkfs with 0 X-Git-Tag: v3.4.2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53744623d67aff8f279c7eecffc7105609bce655;p=thirdparty%2Flibarchive.git mtree reader: initialize checkfs with 0 --- diff --git a/libarchive/archive_read_support_format_mtree.c b/libarchive/archive_read_support_format_mtree.c index a7331a267..332944ac5 100644 --- a/libarchive/archive_read_support_format_mtree.c +++ b/libarchive/archive_read_support_format_mtree.c @@ -258,6 +258,7 @@ archive_read_support_format_mtree(struct archive *_a) "Can't allocate mtree data"); return (ARCHIVE_FATAL); } + mtree->checkfs = 0; mtree->fd = -1; __archive_rb_tree_init(&mtree->rbtree, &rb_ops);