diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-17 17:39:42 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2008-01-17 17:39:42 +0200 |
commit | b254bd97b1cdb68d127523d91ca9e054ed89c4fd (patch) | |
tree | d4d64f4a2c8c8a687dfe7f23c93dadd8ed3f8898 | |
parent | Added --delta to the output of "lzma --help". (diff) | |
download | xz-b254bd97b1cdb68d127523d91ca9e054ed89c4fd.tar.xz |
Fix wrong too small size of argument unfiltered_max
in ia64_coder_init(). It triggered assert() in
simple_coder.c, and could have caused a buffer overflow.
This error was probably a copypaste mistake, since most
of the simple filters use unfiltered_max = 4.
-rw-r--r-- | src/liblzma/simple/ia64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/simple/ia64.c b/src/liblzma/simple/ia64.c index 59830521..e29e5ad6 100644 --- a/src/liblzma/simple/ia64.c +++ b/src/liblzma/simple/ia64.c @@ -97,7 +97,7 @@ ia64_coder_init(lzma_next_coder *next, lzma_allocator *allocator, const lzma_filter_info *filters, bool is_encoder) { return lzma_simple_coder_init(next, allocator, filters, - &ia64_code, 0, 4, is_encoder); + &ia64_code, 0, 16, is_encoder); } |