mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
Memory Safety: Medium Multiple allocation results in the HSP/HFP daemon backend were not checked for NULL: - transport_data->transport_path strdup in new_audio_connection() - endpoint->remote_address and local_address strdup in property parsing - t_path strdup before spa_bt_transport_create() - endpoint calloc and endpoint->path strdup in interface enumeration - backend->hsphfpd_service_id strdup after registration Each could cause a NULL pointer dereference under memory pressure. Add appropriate NULL checks with error returns matching the existing patterns in each function (DBUS_HANDLER_RESULT_NEED_MEMORY or -ENOMEM). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||