mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-05-03 06:47:04 -04:00
Memory Safety: Medium Two issues in the LV2 filter-graph plugin: 1. uri_table_map(): realloc() result was assigned directly to table->data, losing the original pointer on failure (memory leak) and causing a NULL pointer dereference on the next access. Also the subsequent strdup() had no NULL check. Fixed by using a temporary pointer for realloc and checking strdup's return. 2. lv2_state_retrieve(): realloc() of sd->tmp was used without a NULL check, so a failed allocation would cause sd->tmp to become NULL and be immediately passed to spa_json_parse_stringn(). Fixed by checking the realloc result before assignment. 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 | ||