mirror of
https://github.com/php/php-src.git
synced 2024-12-24 09:18:17 +08:00
Fixed #68832 (Unchecked return value)
This commit is contained in:
parent
f418486343
commit
4b3ae843fc
@ -2080,7 +2080,10 @@ static int spl_filesystem_file_call(spl_filesystem_object *intern, zend_function
|
||||
params[1] = *arg2;
|
||||
}
|
||||
|
||||
zend_get_parameters_array_ex(pass_num_args, params + (arg2 ? 2 : 1));
|
||||
if (zend_get_parameters_array_ex(pass_num_args, params + (arg2 ? 2 : 1)) != SUCCESS) {
|
||||
efree(params);
|
||||
WRONG_PARAM_COUNT;
|
||||
}
|
||||
|
||||
ZVAL_UNDEF(&retval);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user