Skip to content

ump: size the reserved message types - #264

Open
djowel wants to merge 1 commit into
celtera:masterfrom
cycfi:reserved-ump-sizes
Open

djowel wants to merge 1 commit into
celtera:masterfrom
cycfi:reserved-ump-sizes

Conversation

@djowel

@djowel djowel commented Oct 2, 2026

Copy link
Copy Markdown

cmidi2_ump_get_num_bytes returns 0xFF for the reserved message types
(0x6-0xC, 0xE), so one such packet makes the UMP input read past its
buffer and crash. UMP 1.1 2.1.4 gives them sizes. They are sized now,
and the input and output splitters stop at a packet cut short by the
buffer.

The new tests in midi_stream_decoder.cpp crash without the fix.

This branch has not been deployed

No deployments
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.

1 participant