Skip to content

Zend: fix OSS-Fuzz 532353396, static is a built-in type - #23768

Closed
Girgias wants to merge 2 commits into
php:PHP-8.5from
Girgias:8.5-static-type-fix
Closed

Girgias wants to merge 2 commits into
php:PHP-8.5from
Girgias:8.5-static-type-fix

Conversation

@Girgias

@Girgias Girgias commented Sep 19, 2026

Copy link
Copy Markdown
Member

Turns out we had a similar bug previously with the iterable type (bugsnet 76198).

And thus should never be allowed to be qualified, as this lead to other bugs such as it not considered to be a built-in type by Reflection if it had a namespace component.

We *may* want to extend the unqualified restriction to self and parent in the future.

@ndossche ndossche 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.

I think this is right but wait for CI to confirm

@Girgias
Girgias marked this pull request as ready for review September 19, 2026 14:57
@Girgias Girgias closed this in 8d38af6 Sep 19, 2026
@Girgias
Girgias deleted the 8.5-static-type-fix branch September 19, 2026 15:02
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