From b5b7b21e1511b70f07ac93b6f87d2a835e99164d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 21 Apr 2013 10:14:58 +0200 Subject: gd: import from rawhide --- gd-2.0.35-overflow.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 gd-2.0.35-overflow.patch (limited to 'gd-2.0.35-overflow.patch') diff --git a/gd-2.0.35-overflow.patch b/gd-2.0.35-overflow.patch new file mode 100644 index 0000000..f71c953 --- /dev/null +++ b/gd-2.0.35-overflow.patch @@ -0,0 +1,13 @@ +--- gd-2.0.35/gd_gd.c.pom 2006-04-05 17:52:22.000000000 +0200 ++++ gd-2.0.35/gd_gd.c 2007-09-05 11:31:39.000000000 +0200 +@@ -149,6 +149,10 @@ _gdCreateFromFile (gdIOCtx * in, int *sx + { + im = gdImageCreate (*sx, *sy); + } ++ if (!im) ++ { ++ goto fail1; ++ } + if (!_gdGetColors (in, im, gd2xFlag)) + { + goto fail2; -- cgit