Skip to content

Commit 5d37c34

Browse files
committed
Initialize named_params in some places
1 parent 42e8df6 commit 5d37c34

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

ext/curl/interface.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1390,6 +1390,7 @@ static size_t curl_write(char *data, size_t size, size_t nmemb, void *ctx)
13901390
fci.retval = &retval;
13911391
fci.param_count = 2;
13921392
fci.params = argv;
1393+
fci.named_params = NULL;
13931394
fci.no_separation = 0;
13941395

13951396
ch->in_callback = 1;
@@ -1438,6 +1439,7 @@ static int curl_fnmatch(void *ctx, const char *pattern, const char *string)
14381439
fci.retval = &retval;
14391440
fci.param_count = 3;
14401441
fci.params = argv;
1442+
fci.named_params = NULL;
14411443
fci.no_separation = 0;
14421444

14431445
ch->in_callback = 1;
@@ -1492,6 +1494,7 @@ static size_t curl_progress(void *clientp, double dltotal, double dlnow, double
14921494
fci.retval = &retval;
14931495
fci.param_count = 5;
14941496
fci.params = argv;
1497+
fci.named_params = NULL;
14951498
fci.no_separation = 0;
14961499

14971500
ch->in_callback = 1;
@@ -1549,6 +1552,7 @@ static size_t curl_read(char *data, size_t size, size_t nmemb, void *ctx)
15491552
fci.retval = &retval;
15501553
fci.param_count = 3;
15511554
fci.params = argv;
1555+
fci.named_params = NULL;
15521556
fci.no_separation = 0;
15531557

15541558
ch->in_callback = 1;
@@ -1612,6 +1616,7 @@ static size_t curl_write_header(char *data, size_t size, size_t nmemb, void *ctx
16121616
fci.retval = &retval;
16131617
fci.param_count = 2;
16141618
fci.params = argv;
1619+
fci.named_params = NULL;
16151620
fci.no_separation = 0;
16161621

16171622
ch->in_callback = 1;

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)