Skip to content

Commit 223d535

Browse files
committed
Reset common fields of EG(trampoline)
1 parent 92ac598 commit 223d535

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Zend/zend_object_handlers.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1237,6 +1237,11 @@ ZEND_API zend_function *zend_get_call_trampoline_func(zend_class_entry *ce, zend
12371237
func->function_name = zend_string_copy(method_name);
12381238
}
12391239

1240+
func->prototype = NULL;
1241+
func->num_args = 0;
1242+
func->required_num_args = 0;
1243+
func->arg_info = 0;
1244+
12401245
return (zend_function*)func;
12411246
}
12421247
/* }}} */

0 commit comments

Comments
 (0)