commit | 8c947e9291691629714dafb4536c718b6cc24fbd | [log] [tgz] |
---|---|---|
author | Lasse Collin <lasse.collin@tukaani.org> | Sat Oct 23 12:30:54 2010 +0300 |
committer | Lasse Collin <lasse.collin@tukaani.org> | Sat Oct 23 12:30:54 2010 +0300 |
tree | 3273ec37ac1c88e56ece94297f492da4871695c6 | |
parent | e61d85e082743ebd2dd0ff28fc0a82482ede0538 [diff] |
liblzma: Make lzma_code() check the reserved members in lzma_stream. If any of the reserved members in lzma_stream are non-zero or non-NULL, LZMA_OPTIONS_ERROR is returned. It is possible that a new feature in the future is indicated by just setting a reserved member to some other value, so the old liblzma version need to catch it as an unsupported feature.