Skip to content

Fix a crash with RAD2 files#135

Merged
binarymaster merged 2 commits into
adplug:masterfrom
kode54:master
Nov 23, 2022
Merged

Fix a crash with RAD2 files#135
binarymaster merged 2 commits into
adplug:masterfrom
kode54:master

Conversation

@kode54

@kode54 kode54 commented Aug 1, 2022

Copy link
Copy Markdown
Contributor

Affected files: xmasong.rad, possibly others

Song references unused instruments not included in the file, causing uninitialized instrument Riff member to be dereferenced, which ends up pointing at unallocated memory.

kode54 and others added 2 commits July 31, 2022 21:37

@binarymaster binarymaster left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Sorry for long delay, the change looks good to me. 👍

@binarymaster binarymaster merged commit 55ddf3d into adplug:master Nov 23, 2022
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.

2 participants