com php-src: initialize the input arg lengths: ext/com_dotnet /com_com.c

From: Date: Tue, 28 Oct 2014 16:25:02 +0000
Subject: com php-src: initialize the input arg lengths: ext/com_dotnet /com_com.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82751@lists.php.net to get a copy of this message
Commit: 1493124e2bfac9bc587d87385b094baf808a31a6 Author: Anatol Belski <ab@php.net> Tue, 28 Oct 2014 16:09:17 +0100 Parents: 41a505fc7f5546cfbabeb285404026fa31c0682f Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=1493124e2bfac9bc587d87385b094baf808a31a6 Log: initialize the input arg lengths Changed paths: M ext/com_dotnet/com_com.c Diff: diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index ec276ee..12fcb62 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;

« previous php.cvs (#82751) next »