summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-28 16:09:17 +0100
committerAnatol Belski <ab@php.net>2014-10-28 17:25:02 +0100
commit1493124e2bfac9bc587d87385b094baf808a31a6 (patch)
tree97eee546fe581fddb65307f88365bf1114f8041c
parent41a505fc7f5546cfbabeb285404026fa31c0682f (diff)
downloadphp-git-1493124e2bfac9bc587d87385b094baf808a31a6.tar.gz
initialize the input arg lengths
-rw-r--r--ext/com_dotnet/com_com.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c
index ec276ee004..12fcb62c40 100644
--- a/ext/com_dotnet/com_com.c
+++ b/ext/com_dotnet/com_com.c
@@ -37,7 +37,7 @@ PHP_FUNCTION(com_create_instance)
php_com_dotnet_object *obj;
char *module_name, *typelib_name = NULL, *server_name = NULL;
char *user_name = NULL, *domain_name = NULL, *password = NULL;
- size_t module_name_len, typelib_name_len, server_name_len,
+ size_t module_name_len = 0, typelib_name_len = 0, server_name_len = 0,
user_name_len, domain_name_len, password_len;
OLECHAR *moniker;
CLSID clsid;