aboutsummaryrefslogtreecommitdiff
path: root/tests/files
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2022-09-02 20:18:55 +0800
committerLasse Collin <lasse.collin@tukaani.org>2022-09-17 00:21:54 +0300
commit72e1645a439a999638a63ec9abb7210671ea5415 (patch)
treefe58e1ec058f1b5597d625b9ff1797612ef3157c /tests/files
parentUpdate THANKS. (diff)
downloadxz-72e1645a439a999638a63ec9abb7210671ea5415.tar.xz
liblzma: lzma_index_append: Add missing integer overflow check.
The documentation in src/liblzma/api/lzma/index.h suggests that both the unpadded (compressed) size and the uncompressed size are checked for overflow, but only the unpadded size was checked. The uncompressed check is done first since that is more likely to occur than the unpadded or index field size overflows.
Diffstat (limited to 'tests/files')
0 files changed, 0 insertions, 0 deletions