You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
337 B
16 lines
337 B
5 years ago
|
diff --git a/tools/gif2tiff.c b/tools/gif2tiff.c
|
||
|
index 17f7a19..375b152 100644
|
||
|
--- a/tools/gif2tiff.c
|
||
|
+++ b/tools/gif2tiff.c
|
||
|
@@ -333,6 +333,10 @@ readraster(void)
|
||
|
int status = 1;
|
||
|
|
||
|
datasize = getc(infile);
|
||
|
+
|
||
|
+ if (datasize > 12)
|
||
|
+ return 0;
|
||
|
+
|
||
|
clear = 1 << datasize;
|
||
|
eoi = clear + 1;
|
||
|
avail = clear + 2;
|