]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Sun, 30 Dec 2018 15:51:34 +0000 (10:51 -0500)
committerCristy <urban-warrior@imagemagick.org>
Sun, 30 Dec 2018 15:51:34 +0000 (10:51 -0500)
coders/gif.c

index 4596c4cc9ba8f1102badb60374561b574136dbfc..d62ba437f4e69b6d29ceaadc0c1369b6d9f40026 100644 (file)
@@ -1096,7 +1096,7 @@ static Image *ReadGIFImage(const ImageInfo *image_info,ExceptionInfo *exception)
               if (count == 0)
                 break;
               buffer[count]='\0';
-              if ((ssize_t) (count+offset+MagickPathExtent) >= (ssize_t) extent)
+              if (((ssize_t) count+offset+MagickPathExtent) >= (ssize_t) extent)
                 {
                   extent<<=1;
                   comments=(char *) ResizeQuantumMemory(comments,extent+