mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-04-25 06:46:40 -04:00
Memory Safety: Medium strcpy was used to copy port names into fixed-size buffers (REAL_JACK_PORT_NAME_SIZE+1) without explicit bounds checking. Port names originate from JACK client API calls and PipeWire port info, which are external inputs. Replaced with snprintf using sizeof(destination) to guarantee the copy is always bounded, preventing potential buffer overflows if source strings exceed the expected maximum length. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| examples | ||
| jack | ||
| src | ||
| meson.build | ||