components/imagemagick/patches/16615558.patch
author Mohana Rao Gorai <mohana.gorai@oracle.com>
Thu, 08 Aug 2013 12:54:44 -0700
branchs11-update
changeset 2721 3c9bd15584c4
permissions -rw-r--r--
15800374 SUNBT7179521 ImageMagick 6.3.4 convert no longer supports conversions from xwd 15803946 problem in UTILITY/IMAGEMAGICK 16615558 problem in UTILITY/IMAGEMAGICK 16690414 convert(1) dumps core while converting PDF to JPEG 16843035 I think we forgot to ship some imagemagick headers

The following link explains the issue in detail:
http://www.imagemagick.org/discourse-server/viewtopic.php?f=3&t=23117

--------------------------------------------------------------------------------
--- ImageMagick-6.8.3/coders/url.c	Mon Dec 10 05:09:00 2012
+++ ImageMagick-6.8.3/coders/url.c	Mon Apr 22 00:07:50 2013
@@ -154,12 +154,9 @@
     file=fdopen(unique_file,"wb");
   if ((unique_file == -1) || (file == (FILE *) NULL))
     {
-      read_info=DestroyImageInfo(read_info);
-      (void) CopyMagickString(image->filename,read_info->filename,
-        MaxTextExtent);
       ThrowFileException(exception,FileOpenError,"UnableToCreateTemporaryFile",
-        image->filename);
-      image=DestroyImageList(image);
+        read_info->filename);
+      read_info=DestroyImageList(read_info);
       return((Image *) NULL);
     }
   (void) CopyMagickString(filename,image_info->magick,MaxTextExtent);