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 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: 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 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 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 meson.build: add -D_GNU_SOURCE to the project arguments 2021-06-09 07:47:51 +00:00
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 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