mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
- Fixed missing parameter in php_atoi
This commit is contained in:
parent
d8a4a9b1dd
commit
eba1b6221d
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue