]> git.ipfire.org Git - thirdparty/libarchive.git/commit
7z: fix another out-of-bounds read in 7z SFX archive detection 2613/head
authorMartin Matuska <martin@matuska.de>
Sun, 18 May 2025 00:40:05 +0000 (02:40 +0200)
committerMartin Matuska <martin@matuska.de>
Sun, 18 May 2025 01:07:49 +0000 (03:07 +0200)
commit3128f04f58200f062135515146cfe8e642ddffff
treefafa1b2f064158f54310df48dc4422e4284ef6ef
parentfc4964751f07a60ee7c2c39595b5940202071f26
7z: fix another out-of-bounds read in 7z SFX archive detection

When looping over program header entries (e_shnum)
we need to increment sec_tbl_offset by e_shentsize
and not by fixed values.

Fixes OSS-Fuzz issue 418349489
libarchive/archive_read_support_format_7zip.c