Skip to content

Commit 63357de

Browse files
committed
Initialize named_params in some places
1 parent 42e8df6 commit 63357de

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

ext/pdo/pdo_dbh.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ static void pdo_stmt_construct(zend_execute_data *execute_data, pdo_stmt_t *stmt
437437
fci.retval = &retval;
438438
fci.param_count = 0;
439439
fci.params = NULL;
440+
fci.named_params = NULL;
440441
fci.no_separation = 1;
441442

442443
zend_fcall_info_args(&fci, ctor_args);

ext/spl/spl_directory.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1956,6 +1956,7 @@ static int spl_filesystem_file_call(spl_filesystem_object *intern, zend_function
19561956
fci.retval = return_value;
19571957
fci.param_count = num_args;
19581958
fci.params = params;
1959+
fci.named_params = NULL;
19591960
fci.no_separation = 1;
19601961
ZVAL_STR(&fci.function_name, func_ptr->common.function_name);
19611962

ext/spl/spl_engine.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ static inline void spl_instantiate_arg_n(zend_class_entry *pce, zval *retval, in
6363
fci.retval = &dummy;
6464
fci.param_count = argc;
6565
fci.params = argv;
66+
fci.named_params = NULL;
6667
fci.no_separation = 1;
6768

6869
fcc.function_handler = func;

main/streams/userspace.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ static void user_stream_create_object(struct php_user_stream_wrapper *uwrap, php
308308
fci.retval = &retval;
309309
fci.param_count = 0;
310310
fci.params = NULL;
311+
fci.named_params = NULL;
311312
fci.no_separation = 1;
312313

313314
fcc.function_handler = uwrap->ce->constructor;

0 commit comments

Comments
 (0)