]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Thu, 8 Feb 2018 11:52:13 +0000 (06:52 -0500)
committerCristy <urban-warrior@imagemagick.org>
Thu, 8 Feb 2018 11:52:13 +0000 (06:52 -0500)
coders/pdb.c

index 5027352058419030f329a227ed0b61ec96b264e6..e03693de502b4bca6675f1038aa8aa2a14f96127 100644 (file)
@@ -595,8 +595,8 @@ static Image *ReadPDBImage(const ImageInfo *image_info,ExceptionInfo *exception)
             *p='\0';
             length<<=1;
             length+=MagickPathExtent;
-            comment=(char *) ResizeQuantumMemory(comment,length+MagickPathExtent,
-              sizeof(*comment));
+            comment=(char *) ResizeQuantumMemory(comment,length+
+              MagickPathExtent,sizeof(*comment));
             if (comment == (char *) NULL)
               break;
             p=comment+strlen(comment);