mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-23 08:56:47 -05:00
If the message was too long, then the `vsnprintf()` call would fill up `location`, leaving no space for the color escape sequence and the newline, causing a stack buffer overrun here: size += snprintf(p + size, len - size, "%s\n", impl->colors ? suffix : ""); Fix that by reserving the last 24 bytes of the message buffer. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||