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

Fixed variant decoding Segmentation Fault #58111

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

maksloboda
Copy link
Contributor

When encoding a variant there exists a check on the depth of recursion, but similar check is missing for decoding.
This can lead to Seg faults on synthetic data. Since RPC's also use this it leads to remote crashes.

Issue also exists in 3.4.2.

@maksloboda maksloboda requested a review from a team as a code owner February 14, 2022 20:12
@Calinou Calinou added bug cherrypick:3.4 cherrypick:3.x Considered for cherry-picking into a future 3.x release crash topic:core labels Feb 14, 2022
@Calinou Calinou added this to the 4.0 milestone Feb 14, 2022
Copy link
Collaborator

@Faless Faless left a comment

Choose a reason for hiding this comment

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

LGTM, 🏆 !

@Faless Faless merged commit fdeed6e into godotengine:master Feb 15, 2022
@Faless
Copy link
Collaborator

Faless commented Feb 15, 2022

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.5.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Feb 15, 2022
@akien-mga
Copy link
Member

Cherry-picked for 3.4.3.

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.

4 participants