diff options
author | Jia Tan <jiat0218@gmail.com> | 2022-09-21 16:15:50 +0800 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2022-09-28 15:48:03 +0300 |
commit | 8cc9874a7974cd575aee44f218836f7acdbeb0ed (patch) | |
tree | bc9ec8f2a8f225bd21496ef2f4fd2ce6e38ea661 /src/liblzma/api | |
parent | Tests: Create a test for the lzma_index_cat bug. (diff) | |
download | xz-8cc9874a7974cd575aee44f218836f7acdbeb0ed.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 '')
0 files changed, 0 insertions, 0 deletions