Annotation of /trunk/libwmf/patches/libwmf-0.2.8.4-CVE-2009-3546.patch
Parent Directory | Revision Log
Revision 2938 -
(hide annotations)
(download)
Tue May 30 10:46:40 2017 UTC (7 years, 3 months ago) by niro
File size: 400 byte(s)
Tue May 30 10:46:40 2017 UTC (7 years, 3 months ago) by niro
File size: 400 byte(s)
-added a bunch of security patches
1 | niro | 2938 | --- libwmf-0.2.8.4/src/extra/gd/gd_gd.c 2010-12-06 14:56:06.000000000 +0000 |
2 | +++ libwmf-0.2.8.4/src/extra/gd/gd_gd.c 2010-12-06 14:57:04.000000000 +0000 | ||
3 | @@ -42,6 +42,10 @@ | ||
4 | { | ||
5 | goto fail1; | ||
6 | } | ||
7 | + if (&im->colorsTotal > gdMaxColors) | ||
8 | + { | ||
9 | + goto fail1; | ||
10 | + } | ||
11 | } | ||
12 | /* Int to accommodate truecolor single-color transparency */ | ||
13 | if (!gdGetInt (&im->transparent, in)) |