diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-11 13:21:28 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-04-11 13:21:28 +0300 |
commit | 71b9380145dccf001f22e66a06b9d508905c25ce (patch) | |
tree | 76d7f8a717ec93d0f59371656f01c83a1f179979 /src/liblzma/check/crc64_x86.S | |
parent | xz: Move the description of --block-size in --long-help. (diff) | |
download | xz-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/liblzma/check/crc64_x86.S')
0 files changed, 0 insertions, 0 deletions