Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37722335
en ru br
ALT Linux repos
S:0.2.8.4-alt13
5.0: 0.2.8.4-alt6
4.1: 0.2.8.4-alt3
4.0: 0.2.8.4-alt3
3.0: 0.2.8.3-alt2

Group :: Text tools
RPM: libwmf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libwmf-0.2.8.4-CVE-2009-3546.patch
Download


--- libwmf-0.2.8.4/src/extra/gd/gd_gd.c	2010-12-06 14:56:06.000000000 +0000
+++ libwmf-0.2.8.4/src/extra/gd/gd_gd.c	2010-12-06 14:57:04.000000000 +0000
@@ -42,6 +42,10 @@
 	    {
 	      goto fail1;
 	    }
+	  if (&im->colorsTotal > gdMaxColors)
+	    {
+	      goto fail1;
+	    }
 	}
       /* Int to accommodate truecolor single-color transparency */
       if (!gdGetInt (&im->transparent, in))
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin