]> git.ipfire.org Git - thirdparty/libarchive.git/commit
7zip: Introduce get_data_offset
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 27 Apr 2026 17:05:39 +0000 (19:05 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 27 Apr 2026 18:10:02 +0000 (20:10 +0200)
commit7f13163608fa5106cf5ea3732fc01accac77db06
tree3b7d707f1072aa4e32b59d53e25102282fed9171
parent73db9854ad38fb3ecc5f2b6d0eb3ca2fedce4b7d
7zip: Introduce get_data_offset

Its functionality is split off from archive_read_format_7zip_bid
and returns offset to actual data, i.e. it handles self extracting
(SFX) files if offset 0 is not already a 7zip magic.

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