1
0
镜像自地址 https://git.tukaani.org/xz.git 已同步 2026-10-31 03:14:56 +00:00

Fix uninitialized variables in alone_decoder.c. This bug was

triggered by the previous commit, since these variables were
not used by anything before support for a preset dictionary.
这个提交包含在:
Lasse Collin 2009-01-28 08:43:26 +02:00
父节点 f76e39cf93
当前提交 3241317093

查看文件

@ -214,6 +214,8 @@ lzma_alone_decoder_init(lzma_next_coder *next, lzma_allocator *allocator,
next->coder->sequence = SEQ_PROPERTIES; next->coder->sequence = SEQ_PROPERTIES;
next->coder->pos = 0; next->coder->pos = 0;
next->coder->options.dict_size = 0; next->coder->options.dict_size = 0;
next->coder->options.preset_dict = NULL;
next->coder->options.preset_dict_size = 0;
next->coder->uncompressed_size = 0; next->coder->uncompressed_size = 0;
next->coder->memlimit = memlimit; next->coder->memlimit = memlimit;
next->coder->memusage = LZMA_MEMUSAGE_BASE; next->coder->memusage = LZMA_MEMUSAGE_BASE;