Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protect against stack overflow if the user derives from Message. #8248

Merged
merged 2 commits into from Feb 2, 2021

Conversation

haberman
Copy link
Member

@haberman haberman commented Feb 2, 2021

Fixes #8229

@haberman haberman merged commit d18df4f into protocolbuffers:master Feb 2, 2021
tony2001 pushed a commit to tony2001/protobuf that referenced this pull request Feb 3, 2021
…tocolbuffers#8248)

* Protect against stack overflow if the user derives from Message.

* For pure-PHP, change error into an exception.
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.

Two segfaults in the PHP extension
3 participants