Skip to content

Fix OSS-Fuzz #565486253: coerced arg with '...' on non-variadic function - #23895

Closed
ndossche wants to merge 1 commit into
php:PHP-8.6from
ndossche:fix-oss-fuzz-565486253
Closed

ndossche wants to merge 1 commit into
php:PHP-8.6from
ndossche:fix-oss-fuzz-565486253

Conversation

@ndossche

Copy link
Copy Markdown
Member

The forwarding call is built 2x, and if the first time coerces and argument, you have a failed assertion the second time. So the type check (which does the coercion) has to happen on a value copy.

The forwarding call is built 2x, and if the first time coerces and
argument, you have a failed assertion the second time. So the type check
(which does the coercion) has to happen on a value copy.
@ndossche
ndossche force-pushed the fix-oss-fuzz-565486253 branch from cab93e0 to dc2af31 Compare September 24, 2026 18:28

@arnaud-lb arnaud-lb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me!

@ndossche ndossche closed this in b5526aa Sep 25, 2026
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