diff options
author | Dmitry Stogov <dmitry@zend.com> | 2018-05-31 11:57:22 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2018-05-31 11:57:22 +0300 |
commit | f2b4ec4bdc595773fb49b7d6ae8942c61f436288 (patch) | |
tree | 528873c7a446929a9298aaaaad4b6cef805fdc69 /ext/com_dotnet/com_persist.c | |
parent | 0d72bb8fcb0b2d658f9a40e473207f4a1f66df91 (diff) | |
download | php-git-f2b4ec4bdc595773fb49b7d6ae8942c61f436288.tar.gz |
Export standard object handlers, to avoid indirect access
Diffstat (limited to 'ext/com_dotnet/com_persist.c')
-rw-r--r-- | ext/com_dotnet/com_persist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/com_dotnet/com_persist.c b/ext/com_dotnet/com_persist.c index 68e9de9455..6a8137a2ef 100644 --- a/ext/com_dotnet/com_persist.c +++ b/ext/com_dotnet/com_persist.c @@ -753,7 +753,7 @@ int php_com_persist_minit(INIT_FUNC_ARGS) { zend_class_entry ce; - memcpy(&helper_handlers, zend_get_std_object_handlers(), sizeof(helper_handlers)); + memcpy(&helper_handlers, &std_object_handlers, sizeof(helper_handlers)); helper_handlers.free_obj = helper_free_storage; helper_handlers.clone_obj = helper_clone; |