From 6c6f0db340dcb8bb424411cedba713405d55f6b8 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Fri, 29 Jan 2021 21:19:08 +0200 Subject: liblzma: Fix unitialized variable. This was introduced two weeks ago in the commit 625f4c7c99b2fcc4db9e7ab2deb4884790e2e17c. Thanks to Nathan Moinvaziri. --- src/liblzma/lzma/lzma_encoder.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/liblzma/lzma/lzma_encoder.c b/src/liblzma/lzma/lzma_encoder.c index 62bb6343..1f801453 100644 --- a/src/liblzma/lzma/lzma_encoder.c +++ b/src/liblzma/lzma/lzma_encoder.c @@ -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; -- cgit v1.2.3