FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix OSS-Fuzz #416302790 by ndossche · Pull Request #18537 · php/php-src · GitHub

/ php-src Public

Fix OSS-Fuzz #416302790 - #18537

Merged
ndossche merged 1 commit into
php:masterfrom
ndossche:fix-oss-fuzz-416302790
May 12, 2025
Merged

Fix OSS-Fuzz #416302790#18537
ndossche merged 1 commit into
php:masterfrom
ndossche:fix-oss-fuzz-416302790

Conversation

Copy link
Copy Markdown
Member

The parser accepted invalid code: consts are only valid at the top level, but because GH-16952 changed the grammar it was incorrectly allowed at all places that allowed attributed statements. Fix this by introducing a variant of attributed_statement for the top level.

The parser accepted invalid code: consts are only valid at the top
level, but because phpGH-16952 changed the grammar it was incorrectly
allowed at all places that allowed attributed statements.
Fix this by introducing a variant of attributed_statement for the top
level.

iluuu1994 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you! LGTM

ndossche merged commit ba4567a into php:master May 12, 2025

Copy link
Copy Markdown
Member

Sorry I didn't review this earlier, looks good to me

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL