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 treewide: replace !strcmp() with spa_streq() 2021-05-18 22:10:27 +10:00
cpu-x86.c cpu: detect MMXEXT as well 2018-12-17 13:37:27 +01:00
cpu.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
dbus.c dbus: make sure we don't unref a NULL dbus connection 2021-05-26 10:52:38 +02:00
evl-plugin.c Add evl system support 2019-06-24 09:42:05 +02:00
evl-system.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
journal.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
logger.c spa: logger: fix potential buffer overrun when message is long 2021-05-28 09:40:11 +00:00
loop.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00
meson.build meson: replace join_paths(a, b) with a / b 2021-04-15 06:57:00 +00:00
node-driver.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
null-audio-sink.c spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
plugin.c support: add null audio sink 2020-08-20 18:00:00 +02:00
system.c treewide: replace strcmp() == 0 with spa_streq() 2021-05-18 22:10:27 +10:00