mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
liblzma: Fix unitialized variable.
This was introduced two weeks ago in the commit
625f4c7c99
.
Thanks to Nathan Moinvaziri.
This commit is contained in:
parent
bb1d5c1fdd
commit
6c6f0db340
1 changed files with 1 additions and 0 deletions
|
@ -651,6 +651,7 @@ lzma_lzma_encoder_create(void **coder_ptr,
|
|||
&& options->preset_dict_size > 0;
|
||||
coder->is_flushed = false;
|
||||
coder->uncomp_size = 0;
|
||||
coder->uncomp_size_ptr = NULL;
|
||||
|
||||
// Output size limitting is disabled by default.
|
||||
coder->out_limit = 0;
|
||||
|
|
Loading…
Reference in a new issue