iliaa           Fri Jan 24 14:23:53 2003 EDT

  Modified files:              
    /php4/ext/gd        gd.c 
  Log:
  Fixed bug #21533 (a rare condition where error can remain undefined and
  result in undefined behavior when it is used without being initialized).
  
  
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.247 php4/ext/gd/gd.c:1.248
--- php4/ext/gd/gd.c:1.247      Fri Jan 24 11:23:11 2003
+++ php4/ext/gd/gd.c    Fri Jan 24 14:23:53 2003
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.247 2003/01/24 16:23:11 iliaa Exp $ */
+/* $Id: gd.c,v 1.248 2003/01/24 19:23:53 iliaa Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, 
    Cold Spring Harbor Labs. */
@@ -2943,7 +2943,7 @@
        int col, x, y, l=0, i, brect[8];
        double ptsize, angle;
        unsigned char *str = NULL, *fontname = NULL;
-       char *error;
+       char *error = NULL;
        int argc;
 #if HAVE_GD_STRINGFTEX
        gdFTStringExtra strex;



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to