mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
Memory Safety: Medium Four strdup() calls in the ModemManager Bluetooth integration had no NULL checks, which could lead to NULL pointer dereferences under memory pressure: - mm_parse_call_properties(): call->number assignment - mm_parse_interfaces(): this->modem.path assignment - mm_filter_cb(): call_object->path assignment (also leaked calloc on failure) - mm_register(): this->allowed_modem_device assignment Each site now checks for NULL and handles the failure appropriately for its context (early return, goto cleanup, or return error). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||