aboutsummaryrefslogtreecommitdiff
path: root/src/common/tuklib_exit.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 13:21:28 +0300
commit71b9380145dccf001f22e66a06b9d508905c25ce (patch)
tree76d7f8a717ec93d0f59371656f01c83a1f179979 /src/common/tuklib_exit.h
parentxz: Move the description of --block-size in --long-help. (diff)
downloadxz-71b9380145dccf001f22e66a06b9d508905c25ce.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/common/tuklib_exit.h')
0 files changed, 0 insertions, 0 deletions