diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-30 13:34:07 +0300 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-09-30 13:34:07 +0300 |
commit | a6639022fdc536e5659b070a465221b4cf7c51fa (patch) | |
tree | 7fafbae4d1a58b8a664c1759f6d1fb8d8a3b7212 /src/liblzma/common/stream_decoder.c | |
parent | Added two test files. (diff) | |
download | xz-a6639022fdc536e5659b070a465221b4cf7c51fa.tar.xz |
Fixed uninitialized variable in Stream decoder.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/common/stream_decoder.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liblzma/common/stream_decoder.c b/src/liblzma/common/stream_decoder.c index 95bb3ada..ab5f2afd 100644 --- a/src/liblzma/common/stream_decoder.c +++ b/src/liblzma/common/stream_decoder.c @@ -396,6 +396,7 @@ lzma_stream_decoder_init(lzma_next_coder *next, lzma_allocator *allocator, = (flags & LZMA_TELL_UNSUPPORTED_CHECK) != 0; next->coder->tell_any_check = (flags & LZMA_TELL_ANY_CHECK) != 0; next->coder->concatenated = (flags & LZMA_CONCATENATED) != 0; + next->coder->first_stream = true; return stream_decoder_reset(next->coder, allocator); } |