mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-02 06:46:36 -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> |
||
|---|---|---|
| .. | ||
| aec | ||
| alsa | ||
| audioconvert | ||
| audiomixer | ||
| audiotestsrc | ||
| avb | ||
| bluez5 | ||
| control | ||
| ffmpeg | ||
| filter-graph | ||
| jack | ||
| libcamera | ||
| support | ||
| test | ||
| v4l2 | ||
| videoconvert | ||
| videotestsrc | ||
| volume | ||
| vulkan | ||
| meson.build | ||