cvs: php-src(PHP_5_2) /ext/gd/libgd gdft.c
| From: | Pierre-Alain Joye | Date: | Sun, 25 Feb 2007 02:45:06 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/gd/libgd gdft.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-43275@lists.php.net to get a copy of this message | ||
pajoye Sun Feb 25 02:45:06 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/gd/libgd gdft.c
Log:
- sync with libgd.org, patch from Kees Cook
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gdft.c?r1=1.36.4.4&r2=1.36.4.5&diff_format=u
Index: php-src/ext/gd/libgd/gdft.c
diff -u php-src/ext/gd/libgd/gdft.c:1.36.4.4 php-src/ext/gd/libgd/gdft.c:1.36.4.5
--- php-src/ext/gd/libgd/gdft.c:1.36.4.4 Fri Feb 23 00:58:49 2007
+++ php-src/ext/gd/libgd/gdft.c Sun Feb 25 02:45:06 2007
@@ -986,7 +986,7 @@
} else {
ch = c & 0xFF; /* don't extend sign */
}
- next++;
+ if (*next) next++;
}
break;
case gdFTEX_Big5: {