diff options
author | Remi Collet <fedora@famillecollet.com> | 2013-04-21 10:14:58 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2013-04-21 10:14:58 +0200 |
commit | b5b7b21e1511b70f07ac93b6f87d2a835e99164d (patch) | |
tree | 2e0db5b13f7bc5cee26d7539c326ca1dbc32b6c8 /gd-2.0.35-security3.patch |
gd: import from rawhide
Diffstat (limited to 'gd-2.0.35-security3.patch')
-rw-r--r-- | gd-2.0.35-security3.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gd-2.0.35-security3.patch b/gd-2.0.35-security3.patch new file mode 100644 index 0000000..e15587b --- /dev/null +++ b/gd-2.0.35-security3.patch @@ -0,0 +1,12 @@ +--- gd-2.0.28/gd_gd.c 2004-05-24 17:28:12.000000000 +0200 ++++ gd-2.0.28_new/gd_gd.c 2009-12-08 15:19:16.159836680 +0100 +@@ -44,6 +44,9 @@ + { + goto fail1; + } ++ if (im->colorsTotal > gdMaxColors) { ++ goto fail1; ++ } + } + /* Int to accommodate truecolor single-color transparency */ + if (!gdGetInt (&im->transparent, in)) |