]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
archive_read_disk_posix.c: initialize delayed_errno
authorMartin Matuska <martin@matuska.org>
Wed, 13 Feb 2019 07:31:28 +0000 (08:31 +0100)
committerMartin Matuska <martin@matuska.org>
Wed, 13 Feb 2019 07:31:28 +0000 (08:31 +0100)
libarchive/archive_read_disk_posix.c

index 09c366f5febe64394283750894bedc3089b3074c..31d2429c41a5c3ff94ee0e1526fed96250300596 100644 (file)
@@ -860,6 +860,7 @@ next_entry(struct archive_read_disk *a, struct tree *t,
        struct archive_string delayed_str;
 
        delayed = ARCHIVE_OK;
+       delayed_errno = 0;
        archive_string_init(&delayed_str);
 
        st = NULL;