mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -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. |
||
|---|---|---|
| .. | ||
| cpu-arm.c | ||
| cpu-x86.c | ||
| cpu.c | ||
| dbus.c | ||
| evl-plugin.c | ||
| evl-system.c | ||
| journal.c | ||
| logger.c | ||
| loop.c | ||
| meson.build | ||
| node-driver.c | ||
| null-audio-sink.c | ||
| plugin.c | ||
| system.c | ||