Skip to content

Fix OSS-Fuzz #545352966: default value AST of an SHM-persisted partial - #23785

Open
ndossche wants to merge 1 commit into
php:masterfrom
ndossche:fix-545352966
Open

ndossche wants to merge 1 commit into
php:masterfrom
ndossche:fix-545352966

Conversation

@ndossche

Copy link
Copy Markdown
Member

Ownership mismatch.
zp_compile() generates a closure AST with parameter-default node here for parse_ini_string(), which is a zend_ast_ref that is shared. The persistence code assumes unique ownership.
Change the code to be analogous to zend_persist_zval().

Ownership mismatch.
zp_compile() generates a closure AST with parameter-default node here
for parse_ini_string(), which is a zend_ast_ref that is shared.
The persistence code assumes unique ownership.
Change the code to be analogous to zend_persist_zval().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant