packages gd-2.0.35-CVE_2007_0455.patch
      Pages: < 1 >  DOWNLOAD      
--- gd-2.0.35/gd_gd.c	2006-04-05 17:52:22.000000000 +0200
+++ gd-2.0.35/gd_gd.c_CVE-2007-0455	2008-10-25 11:40:40.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;