go back to original L%02d format variant

epel9
Rex Dieter 11 years ago
parent c407c458d3
commit b2a83fcec9

@ -18,7 +18,7 @@ diff -up GraphicsMagick-1.3.20/coders/psd.c.CVE-2014-1947 GraphicsMagick-1.3.20/
- (void) sprintf((char *) layer_name, "L%02d", layer_count++ ); - (void) sprintf((char *) layer_name, "L%02d", layer_count++ );
- WritePascalString( image, (char*)layer_name, 4 ); - WritePascalString( image, (char*)layer_name, 4 );
+ char layer_name[MaxTextExtent]; + char layer_name[MaxTextExtent];
+ (void) sprintf(layer_name, "L%06ld", layer_count++ ); + (void) sprintf(layer_name, "L%02d", layer_count++ );
+ WritePascalString( image, layer_name, 4 ); + WritePascalString( image, layer_name, 4 );
} }
tmp_image = tmp_image->next; tmp_image = tmp_image->next;

@ -33,7 +33,7 @@
Summary: An ImageMagick fork, offering faster image generation and better quality Summary: An ImageMagick fork, offering faster image generation and better quality
Name: GraphicsMagick Name: GraphicsMagick
Version: 1.3.20 Version: 1.3.20
Release: 2%{?dist} Release: 3%{?dist}
License: MIT License: MIT
Group: Applications/Multimedia Group: Applications/Multimedia
@ -313,6 +313,9 @@ rm -rf %{buildroot}
%changelog %changelog
* Thu Aug 28 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3.20-3
- go back to original L%02d format variant
* Mon Aug 25 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3.20-2 * Mon Aug 25 2014 Rex Dieter <rdieter@fedoraproject.org> 1.3.20-2
- better fix for CVE-2014-1947 (#1064098,#1083082) - better fix for CVE-2014-1947 (#1064098,#1083082)

Loading…
Cancel
Save