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

Crash fix: do not allow deleting the last node of a path. #1432

Merged
merged 1 commit into from Jun 15, 2020

Conversation

divVerent
Copy link
Contributor

Doing so would create a zero length path. Worse, the path widget still
appears and trying to delete that would make a -1 length path, iterating
over which takes forever (but eventually segfaults).

Doing so would create a zero length path. Worse, the path widget still
appears and trying to delete that would make a -1 length path, iterating
over which takes forever (but eventually segfaults).
@Zwatotem Zwatotem merged commit b9cf4f3 into SuperTux:master Jun 15, 2020
@divVerent divVerent deleted the divVerent/crash-fix-1 branch June 16, 2020 19:06
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.

None yet

2 participants