mirror of
https://github.com/php/php-src.git
synced 2026-04-11 18:13:00 +02:00
- Fixed missing parameter in php_atoi
This commit is contained in:
@@ -122,7 +122,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
|
||||
int new_limit;
|
||||
|
||||
if (new_value) {
|
||||
new_limit = php_atoi(new_value);
|
||||
new_limit = php_atoi(new_value, new_value_length);
|
||||
} else {
|
||||
new_limit = 1<<30; /* effectively, no limit */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user