Skip to content

Commit

Permalink
segfault fix when checking with empty
Browse files Browse the repository at this point in the history
  • Loading branch information
redbullmarky committed Feb 18, 2023
1 parent 7c40690 commit 1e25cc8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion v8js_v8object_class.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 1e25cc8

Please sign in to comment.