From: Ilia Alshanetsky Date: Tue, 10 Oct 2006 17:33:02 +0000 (+0000) Subject: MFB: Fixed bug #38198 (possible crash when COM reports an exception). X-Git-Tag: RELEASE_1_0_0RC1~1325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6d3e8ce4f888a6a6978e3b21bafff6a76615b618;p=php MFB: Fixed bug #38198 (possible crash when COM reports an exception). --- diff --git a/ext/com_dotnet/com_com.c b/ext/com_dotnet/com_com.c index e8dd8d2e6f..706dca6fe1 100644 --- a/ext/com_dotnet/com_com.c +++ b/ext/com_dotnet/com_com.c @@ -340,7 +340,7 @@ HRESULT php_com_invoke_helper(php_com_dotnet_object *obj, DISPID id_member, { HRESULT hr; unsigned int arg_err; - EXCEPINFO e; + EXCEPINFO e = {0}; hr = IDispatch_Invoke(V_DISPATCH(&obj->v), id_member, &IID_NULL, LOCALE_SYSTEM_DEFAULT, flags, disp_params, v, &e, &arg_err);