com php-src: Merge branch 'PHP-7.4': ext/com_dotnet/com_han dlers.c
| From: | Christoph Michael Becker | Date: | Wed, 09 Oct 2019 12:17:25 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.4': ext/com_dotnet/com_han dlers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-108824@lists.php.net to get a copy of this message | ||
Commit: 73e9acbaff0f4bcdc3ff99fb54504af2e23fec42
Author: Christoph M. Becker <cmbecker69@gmx.de> Wed, 9 Oct 2019 14:17:25 +0200
Parents: 9c9a833f9ca5f6d5867b2f1aab1dccbb55620191 4625fa181fd5e1c9b3d8ef291c7003bf51a70512
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=73e9acbaff0f4bcdc3ff99fb54504af2e23fec42
Log:
Merge branch 'PHP-7.4'
* PHP-7.4:
Fix #78650: new COM Crash
Bugs:
https://bugs.php.net/78650
Changed paths:
MM ext/com_dotnet/com_handlers.c
Diff:
diff --cc ext/com_dotnet/com_handlers.c
index c9b7d898ed3,8a70e60d764..1036abb977c
--- a/ext/com_dotnet/com_handlers.c
+++ b/ext/com_dotnet/com_handlers.c
@@@ -172,7 -174,25 +172,12 @@@ static void com_write_dimension(zend_ob
}
}
+ static zval *com_get_property_ptr_ptr(zval *object, zval *member, int type, void **cache_slot)
+ {
+ return NULL;
+ }
+
-#if 0
-static void com_object_set(zval **property, zval *value)
-{
- /* Not yet implemented in the engine */
-}
-
-static zval *com_object_get(zval *property)
-{
- /* Not yet implemented in the engine */
- return NULL;
-}
-#endif
-
-static int com_property_exists(zval *object, zval *member, int check_empty, void **cache_slot)
+static int com_property_exists(zend_object *object, zend_string *member, int check_empty, void
**cache_slot)
{
DISPID dispid;
php_com_dotnet_object *obj;
@@@ -531,7 -551,9 +536,7 @@@ zend_object_handlers php_com_object_han
com_property_write,
com_read_dimension,
com_write_dimension,
- NULL,
+ com_get_property_ptr_ptr,
- NULL, /* com_object_get, */
- NULL, /* com_object_set, */
com_property_exists,
com_property_delete,
com_dimension_exists,