derick Wed Feb 28 18:20:57 2007 UTC
Modified files: (Branch: PHP_4_4)
/php-src/ext/gd/libgd gdft.c
Log:
- MFH: Fix for CVE-2007-0455.
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.11.2.19.2.1&r2=1.11.2.19.2.2&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.1
php-src/ext/gd/libgd/gdft.c:1.11.2.19.2.2
--- php-src/ext/gd/libgd/gdft.c:1.11.2.19.2.1 Wed Feb 21 18:41:23 2007
+++ php-src/ext/gd/libgd/gdft.c Wed Feb 28 18:20:56 2007
@@ -1036,7 +1036,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