]> git.pld-linux.org Git - packages/gd.git/blob - gd-2.0.35-security3.patch
up to 2.1-rc1
[packages/gd.git] / gd-2.0.35-security3.patch
1 --- gd-2.0.28/gd_gd.c   2004-05-24 17:28:12.000000000 +0200
2 +++ gd-2.0.28_new/gd_gd.c       2009-12-08 15:19:16.159836680 +0100
3 @@ -44,6 +44,9 @@
4             {
5               goto fail1;
6             }
7 +           if (im->colorsTotal > gdMaxColors) {
8 +             goto fail1;
9 +               }
10         }
11        /* Int to accommodate truecolor single-color transparency */
12        if (!gdGetInt (&im->transparent, in))
This page took 0.084654 seconds and 3 git commands to generate.