pipewire/spa/plugins
Wim Taymans bc93a745ab security: add missing NULL check after strdup in MIDI server
Memory Safety: Medium

spa_bt_midi_server_new() did not check the return value of strdup()
when duplicating the characteristic path. On allocation failure, a
NULL chr_path would be returned as part of the server object,
leading to a NULL pointer dereference when later used. Add a NULL
check that jumps to the existing fail cleanup path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 11:36:53 +02:00
..
aec
alsa
audioconvert
audiomixer
audiotestsrc
avb
bluez5
control
ffmpeg
filter-graph
jack
libcamera
support
test
v4l2
videoconvert
videotestsrc
volume
vulkan
meson.build