mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-29 06:46:38 -04:00
Memory Safety: Low alsa_id_decode() uses strcpy() to copy into a caller-provided buffer without knowing its size. Although all current callers allocate the buffer correctly (via alloca(strlen(src) + 1) or with a pre-validated fixed buffer), the function signature does not encode this requirement. Replace strcpy with memcpy using the known source length to make the bounded copy explicit. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| include-private/spa-private | ||
| lib | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||