]> git.ipfire.org Git - thirdparty/libarchive.git/commit
zstd: Check for endless loop on 32 bit systems
authorTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 25 May 2026 18:59:44 +0000 (20:59 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Mon, 25 May 2026 20:11:12 +0000 (22:11 +0200)
commitf948099a0dc48da6bf0c58415958caab146f2fbe
treef8654a315b5372b976568416cb7a030fa081b84b
parentbfe3dda34cdca12acde4c25c27bbe47262c426cb
zstd: Check for endless loop on 32 bit systems

It is possible to trigger an endless loop on 32 bit systems due to
a triggerable integer overflow.

Add a regression test for this.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Makefile.am
libarchive/test/CMakeLists.txt
libarchive/test/test_read_filter_zstd_raw.c [new file with mode: 0644]
libarchive/test/test_read_filter_zstd_raw_loop.uu [new file with mode: 0644]