]> git.ipfire.org Git - thirdparty/libarchive.git/commit
lz4: Check XXH32_init result 3100/head
authorTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 31 May 2026 15:41:41 +0000 (17:41 +0200)
committerTobias Stoeckmann <tobias@stoeckmann.org>
Sun, 31 May 2026 15:41:41 +0000 (17:41 +0200)
commite7fb63bc86be42b335011b6a06833ec7b697dace
treea73dd5cf36a7d03c9f045910f0781e0807bdcb22
parent6a8af66e641f2c9c4ae5daa3ec31427b57b4e1aa
lz4: Check XXH32_init result

The XXH32_init function allocates memory. Check if the allocation was
successful and return ARCHIVE_FATAL on error.

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