mirror of
https://github.com/phpv8/v8js.git
synced 2024-12-22 07:01:52 +00:00
segfault fix when checking with empty
This commit is contained in:
parent
7c40690ec0
commit
1e25cc8788
@ -916,7 +916,6 @@ PHP_MINIT_FUNCTION(v8js_v8object_class) /* {{{ */
|
|||||||
/* V8<Object|Function> handlers */
|
/* V8<Object|Function> handlers */
|
||||||
memcpy(&v8js_v8object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
|
memcpy(&v8js_v8object_handlers, zend_get_std_object_handlers(), sizeof(zend_object_handlers));
|
||||||
v8js_v8object_handlers.clone_obj = NULL;
|
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.get_property_ptr_ptr = v8js_v8object_get_property_ptr_ptr;
|
||||||
v8js_v8object_handlers.has_property = v8js_v8object_has_property;
|
v8js_v8object_handlers.has_property = v8js_v8object_has_property;
|
||||||
v8js_v8object_handlers.read_property = v8js_v8object_read_property;
|
v8js_v8object_handlers.read_property = v8js_v8object_read_property;
|
||||||
|
Loading…
Reference in New Issue
Block a user