pipewire/spa/plugins/support
Barnabás Pőcze c851349f17 spa: logger: fix potential buffer overrun when message is long
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.
2021-05-28 09:40:11 +00:00
..
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