mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
Fixed uninitialized variable in Stream decoder.
This commit is contained in:
parent
ed3709000a
commit
a6639022fd
1 changed files with 1 additions and 0 deletions
|
@ -396,6 +396,7 @@ lzma_stream_decoder_init(lzma_next_coder *next, lzma_allocator *allocator,
|
||||||
= (flags & LZMA_TELL_UNSUPPORTED_CHECK) != 0;
|
= (flags & LZMA_TELL_UNSUPPORTED_CHECK) != 0;
|
||||||
next->coder->tell_any_check = (flags & LZMA_TELL_ANY_CHECK) != 0;
|
next->coder->tell_any_check = (flags & LZMA_TELL_ANY_CHECK) != 0;
|
||||||
next->coder->concatenated = (flags & LZMA_CONCATENATED) != 0;
|
next->coder->concatenated = (flags & LZMA_CONCATENATED) != 0;
|
||||||
|
next->coder->first_stream = true;
|
||||||
|
|
||||||
return stream_decoder_reset(next->coder, allocator);
|
return stream_decoder_reset(next->coder, allocator);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue