Skip to content

Commit 75ac3f1

Browse files
committed
Separate COM::__construct()s $server_name array
This may otherwise be modified.
1 parent 5ff15e2 commit 75ac3f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/com_dotnet/com_com.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ PHP_FUNCTION(com_create_instance)
6161
&module_name, &module_name_len, &server_name, &server_name_len,
6262
&cp, &typelib_name, &typelib_name_len) &&
6363
FAILURE == zend_parse_parameters_ex(ZEND_PARSE_PARAMS_QUIET,
64-
ZEND_NUM_ARGS(), "sa|ls",
64+
ZEND_NUM_ARGS(), "sa/|ls",
6565
&module_name, &module_name_len, &server_params, &cp,
6666
&typelib_name, &typelib_name_len)) {
6767

0 commit comments

Comments
 (0)