com php-src: fix uninitialized member: ext/com_dotnet/com_h andlers.c

From: Date: Thu, 08 Dec 2016 16:15:06 +0000
Subject: com php-src: fix uninitialized member: ext/com_dotnet/com_h andlers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-96272@lists.php.net to get a copy of this message
Commit: 66ad7918b8e95e8e7d23ab67890f58d55aba5de2 Author: Anatol Belski <ab@php.net> Thu, 8 Dec 2016 17:15:06 +0100 Parents: a4d6d16b3b33a8ad9f0a063498b0075d3e516494 Branches: PHP-7.0 PHP-7.1 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=66ad7918b8e95e8e7d23ab67890f58d55aba5de2 Log: fix uninitialized member Changed paths: M ext/com_dotnet/com_handlers.c Diff: diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index 5752a7d..12c82a4 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -656,5 +656,7 @@ zend_object* php_com_object_new(zend_class_entry *ce) zend_object_std_init(&obj->zo, ce); obj->zo.handlers = &php_com_object_handlers; + obj->typeinfo = NULL; + return (zend_object*)obj; }

« previous php.cvs (#96272) next »