1
0
mirror of https://git.tukaani.org/xz.git synced 2026-10-31 03:14:56 +00:00

Tests: Comment that a sanitizer may be needed for lzma_index_append() bug

Fixes: a3ea8832bec1 ("Tests: Add a test for the lzma_index_prealloc() + lzma_index_append() bug")
Link: https://github.com/tukaani-project/xz/issues/233
This commit is contained in:
Lasse Collin 2026-07-03 16:55:03 +03:00
parent 6a07932a87
commit f3b5688159
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -1760,6 +1760,8 @@ test_lzma_index_buffer_decode(void)
// With liblzma <= 5.8.2 (before the commit c8c22869e780),
// this triggers a buffer overflow in lzma_index_append().
// This test might require building with -fsanitize=undefined,address
// to catch the bug.
static void
test_decode_empty_and_append(void)
{