Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c. v4.999.5alpha
authorLasse Collin <lasse.collin@tukaani.org>
Wed, 10 Sep 2008 14:02:00 +0000 (17:02 +0300)
committerLasse Collin <lasse.collin@tukaani.org>
Wed, 10 Sep 2008 14:02:00 +0000 (17:02 +0300)
commitcb072b7c8442ba68bb0c62c0abbbe939794887a3
treeb8e1852f45fb03fe06e75a3c11a9a15ca7eb6b11
parent123ab0acec435c9e9866a99e30482116cfbd9ba5
Check for LZMA_FILTER_RESERVED_START in filter_flags_encoder.c.
Use LZMA_PROG_ERROR instead of LZMA_HEADER_ERROR if the Filter ID
is in the reserved range. This allows Block Header encoder to
detect unallowed Filter IDs, which is good for Stream encoder.
src/liblzma/common/filter_flags_encoder.c