aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_read_support_format_ar.c
diff options
context:
space:
mode:
authorMartin Matuska <mm@FreeBSD.org>2018-09-19 10:26:45 +0000
committerMartin Matuska <mm@FreeBSD.org>2018-09-19 10:26:45 +0000
commit21d41b7887a19cdbe00ce6559aafa5b111e3efe2 (patch)
treea1cbf80efa56c7ed485734f94a9046afeba981d1 /libarchive/archive_read_support_format_ar.c
parent7ab7abddce4a942f9422174bd2ba61c5ada389e3 (diff)
downloadsrc-21d41b7887a19cdbe00ce6559aafa5b111e3efe2.tar.gz
src-21d41b7887a19cdbe00ce6559aafa5b111e3efe2.zip
Update vendor/libarchive/dist to git 0cda60af13e709e670af90553b2271bf194e7ccd
Relevant vendor changes: PR #1019: Add allocation check for the zip_entry struct Oss-Fuzz #10192: Handle whitespace-only ACL fields correctly
Notes
Notes: svn path=/vendor/libarchive/dist/; revision=338797
Diffstat (limited to 'libarchive/archive_read_support_format_ar.c')
-rw-r--r--libarchive/archive_read_support_format_ar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_read_support_format_ar.c b/libarchive/archive_read_support_format_ar.c
index b6b9fc3c6dcd..1b0205cc7058 100644
--- a/libarchive/archive_read_support_format_ar.c
+++ b/libarchive/archive_read_support_format_ar.c
@@ -459,6 +459,7 @@ ar_parse_common_header(struct ar *ar, struct archive_entry *entry,
uint64_t n;
/* Copy remaining header */
+ archive_entry_set_filetype(entry, AE_IFREG);
archive_entry_set_mtime(entry,
(time_t)ar_atol10(h + AR_date_offset, AR_date_size), 0L);
archive_entry_set_uid(entry,