- 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); convert_to_string_ex(p_str);
if (argc > 1) { if (argc > 1) {
convert_to_string_ex(p_chunklen); convert_to_long_ex(p_chunklen);
chunklen = Z_LVAL_PP(p_chunklen); chunklen = Z_LVAL_PP(p_chunklen);
} }