16615558 problem in UTILITY/IMAGEMAGICK
authorSonam Gupta <sonam.x.gupta@oracle.com>
Tue, 14 May 2013 23:11:43 -0700
changeset 1299 0c62ac5e16e2
parent 1298 d9e9179d956f
child 1300 28b2a59f68b0
16615558 problem in UTILITY/IMAGEMAGICK
components/imagemagick/patches/16615558.patch
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/components/imagemagick/patches/16615558.patch	Tue May 14 23:11:43 2013 -0700
@@ -0,0 +1,21 @@
+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
[email protected]@ -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);