From 1e25cc8788393a18a1cf43626e43238eed6ec5b0 Mon Sep 17 00:00:00 2001 From: Mark Grainger Date: Sat, 18 Feb 2023 14:58:43 +0000 Subject: [PATCH] segfault fix when checking with empty --- v8js_v8object_class.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/v8js_v8object_class.cc b/v8js_v8object_class.cc index ff1495c..332b9a2 100644 --- a/v8js_v8object_class.cc +++ b/v8js_v8object_class.cc @@ -916,7 +916,6 @@ PHP_MINIT_FUNCTION(v8js_v8object_class) /* {{{ */ /* V8 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;