]> git.ipfire.org Git - thirdparty/libarchive.git/commit
7zip: Fix more 32 bit truncations 3006/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 27 Apr 2026 16:08:46 +0000 (18:08 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Wed, 6 May 2026 18:11:18 +0000 (20:11 +0200)
commitf52a211f80183cc0ff484b7871ac7644f0ea9a19
tree82666191b8e3a0f89c5b601bb60e192283e03e68
parenta4b3f6929ce83a454f2614bd6fd8c2141f725c0e
7zip: Fix more 32 bit truncations

Check for truncations before casting uint64_t to size_t for 32 bit
system safety.

Reported by Asaf Meizner.
Resolves additional notes in GHSA-rf5v-vf7c-6wvg.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
libarchive/archive_read_support_format_7zip.c