parent
154569a467
commit
59e8f594d3
@ -1 +1 @@
|
||||
/GraphicsMagick-1.3.19.tar.xz
|
||||
/GraphicsMagick-1.3.20.tar.xz
|
||||
|
@ -1,10 +0,0 @@
|
||||
--- GraphicsMagick-1.3.19/wand/magick_wand.c.orig 2014-02-03 10:50:54.942163472 +0100
|
||||
+++ GraphicsMagick-1.3.19/wand/magick_wand.c 2014-02-03 10:51:23.957263231 +0100
|
||||
@@ -1907,7 +1907,6 @@
|
||||
if ((draw_info == (DrawInfo *) NULL) ||
|
||||
(draw_info->primitive == (char *) NULL))
|
||||
return(False);
|
||||
- fprintf(stderr,"%s\n",draw_info->primitive);
|
||||
status=DrawImage(wand->image,draw_info);
|
||||
if (status == False)
|
||||
InheritException(&wand->exception,&wand->image->exception);
|
@ -0,0 +1,25 @@
|
||||
diff -up GraphicsMagick-1.3.20/coders/psd.c.CVE-2014-1947 GraphicsMagick-1.3.20/coders/psd.c
|
||||
--- GraphicsMagick-1.3.20/coders/psd.c.CVE-2014-1947 2014-08-16 15:33:23.000000000 -0500
|
||||
+++ GraphicsMagick-1.3.20/coders/psd.c 2014-08-20 07:30:08.767862041 -0500
|
||||
@@ -1719,8 +1719,7 @@ static unsigned int WritePSDImage(const
|
||||
i;
|
||||
|
||||
unsigned char
|
||||
- *pixels,
|
||||
- layer_name[4];
|
||||
+ *pixels;
|
||||
|
||||
unsigned int
|
||||
packet_size,
|
||||
@@ -1944,8 +1943,9 @@ static unsigned int WritePSDImage(const
|
||||
(void) WriteBlob(image, 3, &layer_name[1]);
|
||||
*/
|
||||
} else {
|
||||
- (void) sprintf((char *) layer_name, "L%02d", layer_count++ );
|
||||
- WritePascalString( image, (char*)layer_name, 4 );
|
||||
+ char layer_name[4];
|
||||
+ (void) sprintf(layer_name, "L%02d", layer_count++ );
|
||||
+ WritePascalString( image, layer_name, 4 );
|
||||
}
|
||||
tmp_image = tmp_image->next;
|
||||
};
|
Loading…
Reference in new issue