pajoye          Sat Mar 10 12:51:07 2007 UTC

  Modified files:              (Branch: PHP_4_4)
    /php-src/ext/gd/libgd       gdft.c 
  Log:
  - Fix the Fix for CVE-2007-0455
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.11.2.19.2.3&r2=1.11.2.19.2.4&diff_format=u
Index: php-src/ext/gd/libgd/gdft.c
diff -u php-src/ext/gd/libgd/gdft.c:1.11.2.19.2.3 
php-src/ext/gd/libgd/gdft.c:1.11.2.19.2.4
--- php-src/ext/gd/libgd/gdft.c:1.11.2.19.2.3   Thu Mar  1 19:09:33 2007
+++ php-src/ext/gd/libgd/gdft.c Sat Mar 10 12:51:07 2007
@@ -1038,7 +1038,7 @@
                                        } else {
                                                ch = c & 0xFF;  /* don't extend 
sign */
                                        }
-                                       if (next) next++;
+                                       if (*next) next++;
                                }
                                break;
                        case gdFTEX_Big5: {

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

Reply via email to