mirror of
https://github.com/php/php-src.git
synced 2025-01-23 20:23:31 +08:00
fix crash when calling com methods
- due to change in Zend
This commit is contained in:
parent
2e1f2f8852
commit
8f32b61acb
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user