]> git.ipfire.org Git - thirdparty/xz.git/commit
Tests: test_index: Test that *i = NULL is done on LZMA_PROG_ERROR
authorLasse Collin <lasse.collin@tukaani.org>
Sat, 27 Apr 2024 12:08:29 +0000 (15:08 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 21 May 2024 21:12:07 +0000 (00:12 +0300)
commit61be041f84e0119b063857cf095e1a1beaead7a9
treea80cd6741cc21da1a5e75d719347ea4f70ce86b7
parentf39a7ba7f9c2c7c1aab8be4b9fefb1b19c04db37
Tests: test_index: Test that *i = NULL is done on LZMA_PROG_ERROR

On LZMA_DATA_ERROR from lzma_index_buffer_decode(), *i = NULL was
already done but this adds a test for that case too.

(cherry picked from commit 575b11b0d291e66c5fce31ce7a72f11436d57c83)
tests/test_index.c