cvs: php-src(PHP_4_4) /ext/gd/libgd gdft.c
| From: | Derick Rethans | Date: | Wed, 28 Feb 2007 18:20:57 +0000 |
| Subject: | cvs: php-src(PHP_4_4) /ext/gd/libgd gdft.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43325@lists.php.net to get a copy of this message | ||
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: {