Skip to content

Commit 06a3c7e

Browse files
committed
Fix uninitialized fn_flags2
1 parent 0fe7634 commit 06a3c7e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Zend/zend_API.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3042,6 +3042,7 @@ ZEND_API zend_result zend_register_functions(zend_class_entry *scope, const zend
30423042
internal_function->function_name = zend_string_init_interned(ptr->fname, fname_len, 1);
30433043
internal_function->scope = scope;
30443044
internal_function->prototype = NULL;
3045+
internal_function->fn_flags2 = 0;
30453046
internal_function->prop_info = NULL;
30463047
internal_function->attributes = NULL;
30473048
internal_function->frameless_function_infos = ptr->frameless_function_infos;

0 commit comments

Comments
 (0)