diff options
-rw-r--r-- | gdk-pixbuf/io-gif.c | 2 | ||||
-rw-r--r-- | tests/test-images/gif-test-suite/TESTS | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gdk-pixbuf/io-gif.c b/gdk-pixbuf/io-gif.c index 688cad542..3986635bc 100644 --- a/gdk-pixbuf/io-gif.c +++ b/gdk-pixbuf/io-gif.c @@ -540,7 +540,7 @@ get_code (GifContext *context, { int i, j, ret; - if ((context->code_curbit + code_size) >= context->code_lastbit){ + if ((context->code_curbit + code_size) > context->code_lastbit){ gif_set_lzw_fill_buffer (context); return -3; } diff --git a/tests/test-images/gif-test-suite/TESTS b/tests/test-images/gif-test-suite/TESTS index 2dfc87aee..cc986661e 100644 --- a/tests/test-images/gif-test-suite/TESTS +++ b/tests/test-images/gif-test-suite/TESTS @@ -31,8 +31,8 @@ missing-pixels extra-pixels extra-data no-clear -#no-eoi -#no-clear-and-eoi +no-eoi +no-clear-and-eoi #many-clears #double-clears invalid-colors |