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

First update editor widgets, then flush deleted objects away. #1436

Merged
merged 1 commit into from Jun 16, 2020

Conversation

divVerent
Copy link
Contributor

Otherwise, deleting a platform triggers a use-after-free detected by ASan
in the code

  if (m_hovered_object && !m_hovered_object->is_valid()) {
    m_hovered_object = nullptr;
    m_object_tip = nullptr;
  }

Otherwise, deleting a platform triggers a use-after-free detected by ASan
in the code

```
  if (m_hovered_object && !m_hovered_object->is_valid()) {
    m_hovered_object = nullptr;
    m_object_tip = nullptr;
  }
```
@tobbi tobbi merged commit bfd11ac into SuperTux:master Jun 16, 2020
@divVerent divVerent deleted the divVerent/asan-fix branch June 16, 2020 19:06
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.

None yet

3 participants