diff options
author | Derick Rethans <derick@php.net> | 2001-09-27 06:55:23 +0000 |
---|---|---|
committer | Derick Rethans <derick@php.net> | 2001-09-27 06:55:23 +0000 |
commit | be52d66f4ba044a2c61f42e4ad04cc98f5571ec9 (patch) | |
tree | 3fcb98ce35a75fd56182af001b40e9d331ae7eab | |
parent | 061cd204003adf31debd2869dfc7cb11d14c3782 (diff) | |
download | php-git-be52d66f4ba044a2c61f42e4ad04cc98f5571ec9.tar.gz |
- Fix crashbug in php_chunk_split()
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index faca6fd0f9..fe0ae0a039 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1588,7 +1588,7 @@ PHP_FUNCTION(chunk_split) 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); } |