Closed mccann closed 8 months ago
MacOS 14, Apple Silicon
Found a bug when I modified the midiprobe example to enumerate virtual ports created by the coremidi_share example:
midiprobe
coremidi_share
libremidi::observer midi{ {.track_virtual = true },libremidi::observer_configuration_for(api) };
When running the coremidi_share in one terminal, and the modified mididprobe in another, midiprobe would segfault inside get_string_property due to nullptr dereference of CFStringRef res inside CFStringGetCString(res,...)
mididprobe
get_string_property
CFStringRef res
CFStringGetCString(res,...)
I was just about to write an issue for this, but you beat me to it.
MacOS 14, Apple Silicon
Found a bug when I modified the
midiprobe
example to enumerate virtual ports created by thecoremidi_share
example:When running the
coremidi_share
in one terminal, and the modifiedmididprobe
in another,midiprobe
would segfault insideget_string_property
due to nullptr dereference ofCFStringRef res
insideCFStringGetCString(res,...)