In lzma_read_match_distances(), don't use
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 14 Jan 2008 10:08:02 +0000 (12:08 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 14 Jan 2008 10:08:02 +0000 (12:08 +0200)
commit3e09e1c05871f3757f759b801890ccccc9286608
tree37d394a89c6d7377a68d8980c8bd198769461785
parenta670fec8021e5962429689c194148a04c3418872
In lzma_read_match_distances(), don't use
coder->lz.stream_end_was_reached. That variable
will be removed, and the check isn't required anyway.
Rearrange the check so that it doesn't make one to
think that there could be an integer overflow.
src/liblzma/lzma/lzma_encoder_private.h