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

Portals - fix crash when logging link room names #51394

Merged
merged 1 commit into from
Aug 8, 2021

Conversation

lawnjelly
Copy link
Member

The checking for link room IDs was checking for less than size(), but was not correctly checking for -1,
and therefore reading outside the array range. This PR fixes this.

Fixes #51390. (I hope!)

The checking for link room IDs was checking for less than size(), but was not correctly checking for -1,
and therefore reading outside the array range. This PR fixes this.
@lawnjelly lawnjelly requested a review from a team as a code owner August 8, 2021 14:02
@Chaosus Chaosus added this to the 3.4 milestone Aug 8, 2021
@akien-mga akien-mga merged commit 6149304 into godotengine:3.x Aug 8, 2021
@akien-mga
Copy link
Member

Thanks!

@lawnjelly lawnjelly deleted the portals_fix_log_crash branch August 8, 2021 15:58
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