commit | 434c6dd14f1cba0bd0c2fc8439e012b97bfb0dfb | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Mon Apr 11 13:21:28 2011 +0300 |
committer | Jonathan Nieder <jrnieder@gmail.com> | Sat Jun 23 01:27:23 2012 -0500 |
tree | 3bcc95f424e4aee3225f285de9fd965e9f56727f | |
parent | 099ef8f2095d3d17329129adf9732d7ea2bd840e [diff] |
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.