Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix segfault when evaluating const expr default value of child prop with added hooks #18098

Draft
wants to merge 4 commits into
base: PHP-8.4
Choose a base branch
from

Conversation

iluuu1994
Copy link
Member

@iluuu1994 iluuu1994 commented Mar 17, 2025

Since #17870, we can no longer rely on the fact that the property default value position exactly corresponds to the property info position. Fetch the property info first to fetch the property value offset.

Fixes oss-fuzz #403816122

@iluuu1994 iluuu1994 force-pushed the oss-fuzz-403816122 branch from 8eaec5f to 17f094a Compare March 17, 2025 18:17
@iluuu1994 iluuu1994 requested a review from arnaud-lb March 18, 2025 13:07
Copy link
Member

@arnaud-lb arnaud-lb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

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.

2 participants