pajoye          Sun Feb 25 02:56:04 2007 UTC

  Modified files:              
    /php-src/ext/gd/libgd       gdft.c 
  Log:
  - MFB: sync with libgd.org, patch from Kees Cook
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.40&r2=1.41&diff_format=u
Index: php-src/ext/gd/libgd/gdft.c
diff -u php-src/ext/gd/libgd/gdft.c:1.40 php-src/ext/gd/libgd/gdft.c:1.41
--- php-src/ext/gd/libgd/gdft.c:1.40    Fri Feb 23 01:02:57 2007
+++ php-src/ext/gd/libgd/gdft.c Sun Feb 25 02:56:03 2007
@@ -986,7 +986,7 @@
                                        } else {
                                                ch = c & 0xFF;  /* don't extend 
sign */
                                        }
-                                       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