Skip to content

Conversation

nielsdos
Copy link
Member

If an exception and a warning (or deprecation) is emitted, then the result is destroyed twice. Use an else if to prevent this. This is tested via zend_test because the deprecation that triggered the original reproducer may disappear in the future.

… exception are triggered

If an exception _and_ a warning (or deprecation) is emitted, then the
result is destroyed twice. Use an `else if` to prevent this.
This is tested via zend_test because the deprecation that triggered the
original reproducer may disappear in the future.
Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

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

LGTM

@nielsdos nielsdos closed this in 2ad0b5c Sep 11, 2025
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.

SCCP causes UAF for return value if both warning and exception are triggered

2 participants