1 --- SDL_image/IMG_gif.orig.c 2008-02-01 11:58:19.000000000 +0100
2 +++ SDL_image/IMG_gif.c 2008-02-01 11:58:28.000000000 +0100
4 static int table[2][(1 << MAX_LWZ_BITS)];
5 static int stack[(1 << (MAX_LWZ_BITS)) * 2], *sp;
8 + /* Fixed buffer overflow found by Michael Skladnikiewicz */
9 + if( input_code_size > MAX_LWZ_BITS )
13 set_code_size = input_code_size;