From: Mostyn Bramley-Moore Date: Sun, 3 Sep 2023 07:27:14 +0000 (+0200) Subject: 7zip reader: improve error message when encountering the ARM64 codec in an unexpected... X-Git-Tag: v3.7.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ad1f6171161a10ff6a397f17652150457f6c020;p=thirdparty%2Flibarchive.git 7zip reader: improve error message when encountering the ARM64 codec in an unexpected place (#1950) This is a small followup to #1918. --- diff --git a/libarchive/archive_read_support_format_7zip.c b/libarchive/archive_read_support_format_7zip.c index 97ec1f436..051082bf7 100644 --- a/libarchive/archive_read_support_format_7zip.c +++ b/libarchive/archive_read_support_format_7zip.c @@ -1388,6 +1388,7 @@ init_decompression(struct archive_read *a, struct _7zip *zip, case _7Z_IA64: case _7Z_ARM: case _7Z_ARMTHUMB: + case _7Z_ARM64: case _7Z_SPARC: case _7Z_DELTA: archive_set_error(&a->archive, ARCHIVE_ERRNO_MISC,