Commit f3b56881 for xz

commit f3b5688159c60495f48db3942a36509671dfce89
Author: Lasse Collin <lasse.collin@tukaani.org>
Date:   Fri Jul 3 16:55:03 2026 +0300

    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

diff --git a/tests/test_index.c b/tests/test_index.c
index 50e554ff..5501332e 100644
--- a/tests/test_index.c
+++ b/tests/test_index.c
@@ -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)
 {