aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/api/lzma/index_hash.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2011-04-11 13:21:28 +0300
committerLasse Collin <lasse.collin@tukaani.org>2011-04-11 14:00:46 +0300
commit4ce1cf97a88ae1640a380dd19cbc255d729f966b (patch)
tree7671afcc5daf64a2c02f5fe967e45cba0f2c95f8 /src/liblzma/api/lzma/index_hash.h
parentUpdate THANKS. (diff)
downloadxz-4ce1cf97a88ae1640a380dd19cbc255d729f966b.tar.xz
liblzma: Validate encoder arguments better.
The biggest problem was that the integrity check type wasn't validated, and e.g. lzma_easy_buffer_encode() would create a corrupt .xz Stream if given an unsupported Check ID. Luckily applications don't usually try to use an unsupport Check ID, so this bug is unlikely to cause many real-world problems.
Diffstat (limited to 'src/liblzma/api/lzma/index_hash.h')
0 files changed, 0 insertions, 0 deletions