Skip to content

Conversation

iluuu1994
Copy link
Member

Postfix ++ on NULL is undefined behavior

Found with Clangs UndefinedBehaviorSanitizer.

Should this target PHP 7.4? Do we consider all UB a security issue?

Postfix `++` on `NULL` is undefined behavior
Copy link
Member

@nikic nikic left a comment

Choose a reason for hiding this comment

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

Should this target PHP 7.4? Do we consider all UB a security issue?

No.

@iluuu1994 iluuu1994 closed this in f0480eb May 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants