/[packages]/updates/3/imagemagick/current/SOURCES/imagemagick-CVE-2014-2030.patch
ViewVC logotype

Contents of /updates/3/imagemagick/current/SOURCES/imagemagick-CVE-2014-2030.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 595156 - (show annotations) (download)
Thu Feb 20 17:16:21 2014 UTC (10 years, 2 months ago) by luigiwalser
File size: 1064 byte(s)
add upstream patches to fix CVE-2014-2030 and CVE-2014-1958 (mga#12742)
1 Index: /ImageMagick/branches/ImageMagick-6/coders/psd.c
2 ===================================================================
3 --- /ImageMagick/branches/ImageMagick-6/coders/psd.c (revision 13684)
4 +++ /ImageMagick/branches/ImageMagick-6/coders/psd.c (revision 13736)
5 @@ -2113,7 +2113,4 @@
6 *bim_profile;
7
8 - unsigned char
9 - layer_name[4];
10 -
11 /*
12 Open image file.
13 @@ -2373,10 +2370,13 @@
14 if (property == (const char *) NULL)
15 {
16 + char
17 + layer_name[MaxTextExtent];
18 +
19 (void) WriteBlobMSBLong(image,16);
20 (void) WriteBlobMSBLong(image,0);
21 (void) WriteBlobMSBLong(image,0);
22 - (void) FormatLocaleString((char *) layer_name,MaxTextExtent,
23 - "L%06ld",(long) layer_count++);
24 - WritePascalString( image, (char*)layer_name, 4 );
25 + (void) FormatLocaleString(layer_name,MaxTextExtent,"L%06ld",(long)
26 + layer_count++);
27 + WritePascalString(image,layer_name,4);
28 }
29 else

  ViewVC Help
Powered by ViewVC 1.1.30