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:
parent
6a07932a87
commit
f3b5688159
@ -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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user