Cross Reference: 004-gd2-2.0.35-CVE-2009-3546.patch
xref
: /
solaris-userland
/
components
/
gd2
/
patches
/
004-gd2-2.0.35-CVE-2009-3546.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
130
N/A
# Patch for libgd2 Version 2.0.35 CVE-2009-3546
130
N/A
---
gd_gd.c
2006-04-05 08:52:22.000000000 -0700
130
N/A
+++
gd_gd.c
2011-02-16 17:57:09.865711091 -0800
130
N/A
@@ -44,6 +44,10 @@
130
N/A
{
130
N/A
goto fail1;
130
N/A
}
130
N/A
+ if (im->colorsTotal > gdMaxColors)
130
N/A
+ {
130
N/A
+ goto fail1;
130
N/A
+ }
130
N/A
}
130
N/A
/* Int to accommodate truecolor single-color transparency */
130
N/A
if (!gdGetInt (&im->transparent, in))