From be52d66f4ba044a2c61f42e4ad04cc98f5571ec9 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Thu, 27 Sep 2001 06:55:23 +0000 Subject: [PATCH] - Fix crashbug in php_chunk_split() --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.50.1