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:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user