On 2011-12-16 stompdagg...@yahoo.com wrote:
> in that case, what action should I take?

Simply check that the last call to lzma_code has returned
LZMA_STREAM_END. If it returned LZMA_OK, the decoder didn't decode the
last bytes of the file and thus the file was truncated or otherwise
corrupt.

I see you copied the bug from xz_pipe_decomp.c. I'm sorry about that. I
should have reviewed the example programs more carefully before
accepting them.

-- 
Lasse Collin  |  IRC: Larhzu @ IRCnet & Freenode

Reply via email to