mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-10 13:30:05 -05:00
If the supplied buffer has smaller (or equal) size than the length of the string, then `strncpy()` will not place a null terminator in the buffer. Fix that by always setting the last byte of the buffer to zero. |
||
|---|---|---|
| .. | ||
| buffer | ||
| control | ||
| debug | ||
| graph | ||
| monitor | ||
| node | ||
| param | ||
| pod | ||
| support | ||
| utils | ||