From: Rob Richards Date: Sat, 20 Nov 2004 11:41:24 +0000 (+0000) Subject: MFH: fix crash when calling com methods X-Git-Tag: php-5.0.3RC1~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ec21cca55bd0a6505c64a7dbb5b2d3ebfa37b06;p=php MFH: fix crash when calling com methods - due to change in Zend --- diff --git a/ext/com_dotnet/com_handlers.c b/ext/com_dotnet/com_handlers.c index cee0b41017..63b4d3252e 100644 --- a/ext/com_dotnet/com_handlers.c +++ b/ext/com_dotnet/com_handlers.c @@ -293,12 +293,13 @@ static PHP_FUNCTION(com_method_handler) INTERNAL_FUNCTION_PARAM_PASSTHRU); } -static union _zend_function *com_method_get(zval *object, char *name, int len TSRMLS_DC) +static union _zend_function *com_method_get(zval **object_ptr, char *name, int len TSRMLS_DC) { zend_internal_function f, *fptr = NULL; php_com_dotnet_object *obj; union _zend_function *func; DISPID dummy; + zval *object = *object_ptr; obj = CDNO_FETCH(object);