cvs: php4 /ext/standard string.c
| From: | Derick Rethans | Date: | Thu, 27 Sep 2001 06:55:24 +0000 |
| Subject: | cvs: php4 /ext/standard string.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-7589@lists.php.net to get a copy of this message | ||
derick Thu Sep 27 02:55:24 2001 EDT
Modified files:
/php4/ext/standard string.c
Log:
- Fix crashbug in php_chunk_split()
Index: php4/ext/standard/string.c
diff -u php4/ext/standard/string.c:1.248 php4/ext/standard/string.c:1.249
--- php4/ext/standard/string.c:1.248 Wed Sep 26 20:21:21 2001
+++ php4/ext/standard/string.c Thu Sep 27 02:55:23 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: string.c,v 1.248 2001/09/27 00:21:21 zeev Exp $ */
+/* $Id: string.c,v 1.249 2001/09/27 06:55:23 derick Exp $ */
/* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */
@@ -1588,7 +1588,7 @@
convert_to_string_ex(p_str);
if (argc > 1) {
- convert_to_string_ex(p_chunklen);
+ convert_to_long_ex(p_chunklen);
chunklen = Z_LVAL_PP(p_chunklen);
}