pipewire/spa/plugins/support
Wim Taymans 7f4fa64291 loop: Fix crash because of overflow
Also check if there is enough space to write the payload bytes.

We check if there is enough space for the invoke_item structure first.
Then we calculate how much bytes we need to use for the payload but we
fail to check if we can actually write that much data, risking
overwriting existing data from the ringbuffer and causing a crash later
when we try to jump to invalid memory.

Add some more comments.
2021-07-19 09:53:23 +02:00
..
cpu-arm.c
cpu-x86.c
cpu.c treewide: mark things static and const 2021-06-30 14:44:08 +02:00
dbus.c dbus: keep a ref to DBusConnection if reconnecting is not handled 2021-06-26 16:11:40 +03:00
evl-plugin.c
evl-system.c
journal.c
logger.c treewide: mark things static and const 2021-06-30 14:44:08 +02:00
loop.c loop: Fix crash because of overflow 2021-07-19 09:53:23 +02:00
meson.build
node-driver.c node-driver: remove timers when not a driver 2021-07-01 12:28:18 +02:00
null-audio-sink.c null-audio-sink: only start timers when driving 2021-07-01 11:33:21 +02:00
plugin.c
system.c