diff options
author | Jia Tan <jiat0218@gmail.com> | 2022-09-21 16:15:50 +0800 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-29 16:54:39 +0300 |
commit | 166431e9951613481b8136f52b570d7bc30b5a03 (patch) | |
tree | e468452e14e886f5a4675122abd2d2fee8aceee1 /src/liblzma/common/easy_preset.h | |
parent | Tests: Create a test for the lzma_index_cat bug. (diff) | |
download | xz-166431e9951613481b8136f52b570d7bc30b5a03.tar.xz |
liblzma: Add dest and src NULL checks to lzma_index_cat.
The documentation states LZMA_PROG_ERROR can be returned from
lzma_index_cat. Previously, lzma_index_cat could not return
LZMA_PROG_ERROR. Now, the validation is similar to
lzma_index_append, which does a NULL check on the index
parameter.
Diffstat (limited to 'src/liblzma/common/easy_preset.h')
0 files changed, 0 insertions, 0 deletions