projects
/
platform
/
upstream
/
xz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed37090
)
Fixed uninitialized variable in Stream decoder.
author
Lasse Collin
<lasse.collin@tukaani.org>
Tue, 30 Sep 2008 10:34:07 +0000
(13:34 +0300)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Tue, 30 Sep 2008 10:34:07 +0000
(13:34 +0300)
src/liblzma/common/stream_decoder.c
patch
|
blob
|
history
diff --git
a/src/liblzma/common/stream_decoder.c
b/src/liblzma/common/stream_decoder.c
index
95bb3ad
..
ab5f2af
100644
(file)
--- 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);
}