pipewire/spa/plugins
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
..
alsa spa: add some latency helpers 2021-05-27 15:26:09 +02:00
audioconvert channelmix: provide some more upmix options 2021-05-27 18:08:07 +02:00
audiomixer spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
audiotestsrc spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
bluez5 spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
control spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
ffmpeg spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
jack spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
libcamera spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
support spa: logger: fix potential buffer overrun when message is long 2021-05-28 09:40:11 +00:00
test spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
v4l2 spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
videoconvert spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
videotestsrc spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
volume spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
vulkan spa: save the old change_mask and restore when emitting full 2021-05-27 15:21:44 +02:00
meson.build spa: ffmpeg: remove libavformat dependency 2021-05-16 13:10:59 +00:00