0
0
mirror of https://github.com/phpv8/v8js.git synced 2024-09-16 19:15:17 +00:00

segfault fix when checking with empty

This commit is contained in:
Mark Grainger 2023-02-18 14:58:43 +00:00
parent 7c40690ec0
commit 1e25cc8788

View File

@ -916,7 +916,6 @@ PHP_MINIT_FUNCTION(v8js_v8object_class) /* {{{ */
/* V8<Object|Function> handlers */
memcpy(&v8js_v8object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
v8js_v8object_handlers.clone_obj = NULL;
v8js_v8object_handlers.cast_object = NULL;
v8js_v8object_handlers.get_property_ptr_ptr = v8js_v8object_get_property_ptr_ptr;
v8js_v8object_handlers.has_property = v8js_v8object_has_property;
v8js_v8object_handlers.read_property = v8js_v8object_read_property;