Skip to content

Conversation

@pawnishoovy
Copy link
Contributor

On Windows this was use-after-free, but on Mac/Linux it was apparently getting zeroed and would later be empty, which would cause a crash that an assert was supposed to prevent but didn't due to being misplaced.

I can't test this because I'm on Windows, but it should fix the described issue.

Fixes #161

@pawnishoovy pawnishoovy added the bug Something isn't working label Dec 19, 2024
@pawnishoovy pawnishoovy self-assigned this Dec 19, 2024
Copy link
Contributor

@HeliumAnt HeliumAnt left a comment

Choose a reason for hiding this comment

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

lgtm

@Causeless Causeless added this pull request to the merge queue Dec 20, 2024
Merged via the queue into development with commit 510c61a Dec 20, 2024
4 checks passed
@Causeless Causeless deleted the musicman-use-after-free branch December 20, 2024 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Game crashes on playing dynamic songs with only one section [linux, macos]

4 participants