1
0
mirror of https://github.com/php/php-src.git synced 2026-04-08 16:43:44 +02:00

- Fix crashbug in php_chunk_split()

This commit is contained in:
Derick Rethans
2001-09-27 06:55:23 +00:00
parent 061cd20400
commit be52d66f4b

View File

@@ -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);
}