liblzma: Check that the first byte of range encoded data is 0x00.
commit9d32a034611c8bcf126970a97b939ae349870065
authorLasse Collin <lasse.collin@tukaani.org>
Thu, 28 Jun 2012 07:47:49 +0000 (28 10:47 +0300)
committerJonathan Nieder <jrnieder@gmail.com>
Sat, 18 Aug 2012 10:06:00 +0000 (18 03:06 -0700)
treed348ac423bd5dddb0ee6263efaa7cc4af92503c4
parent2f7b46d2c3dd4d89dcb922601ef4b1a85f89eb2e
liblzma: Check that the first byte of range encoded data is 0x00.

It is just to be more pedantic and thus perhaps catch broken
files slightly earlier.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
src/liblzma/lzma/lzma_decoder.c
src/liblzma/rangecoder/range_decoder.h