sdl-image
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
--- IMG_gif.c
|
||||
+++ IMG_gif.c
|
||||
@@ -418,6 +418,9 @@
|
||||
static int stack[(1 << (MAX_LWZ_BITS)) * 2], *sp;
|
||||
register int i;
|
||||
|
||||
+ if (input_code_size > MAX_LWZ_BITS)
|
||||
+ return -1;
|
||||
+
|
||||
if (flag) {
|
||||
set_code_size = input_code_size;
|
||||
code_size = set_code_size + 1;
|
||||
Reference in New Issue
Block a user