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:
8f5794c
)
Fix wrong too small size of argument unfiltered_max
author
Lasse Collin
<lasse.collin@tukaani.org>
Thu, 17 Jan 2008 15:39:42 +0000
(17:39 +0200)
committer
Lasse Collin
<lasse.collin@tukaani.org>
Thu, 17 Jan 2008 15:39:42 +0000
(17:39 +0200)
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.
src/liblzma/simple/ia64.c
patch
|
blob
|
history
diff --git
a/src/liblzma/simple/ia64.c
b/src/liblzma/simple/ia64.c
index
5983052
..
e29e5ad
100644
(file)
--- 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);
}