Skip to content

Fix crashes on project load with MIDI auto assignment feature - #8505

Open
PhysSong wants to merge 2 commits into
LMMS:masterfrom
PhysSong:fix-auto-assign-ub
Open

Fix crashes on project load with MIDI auto assignment feature#8505
PhysSong wants to merge 2 commits into
LMMS:masterfrom
PhysSong:fix-auto-assign-ub

Conversation

@PhysSong

Copy link
Copy Markdown
Member

Fixes use-after-free when at least one of these are true while automatic MIDI assignment is active:

  • Using a raw MIDI backend
  • Target device set to none or a non-existent device

Fixes #8434.

@PhysSong PhysSong changed the title Fix auto assign ub Fix crashes on project load with MIDI auto assignment feature Aug 16, 2026
@rubiefawn rubiefawn added bug core master branch This issue predominantly affects the active development (master) branch labels Aug 17, 2026
@rubiefawn rubiefawn added the needs testing This pull request needs more testing label Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug core master branch This issue predominantly affects the active development (master) branch needs testing This pull request needs more testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Segfault/crash when loading any project pre-1.3

2 participants