pipewire/spa
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
..
examples meson.build: add -D_GNU_SOURCE to the project arguments 2021-06-09 07:47:51 +00:00
include thread: fix compilation 2021-07-06 16:20:05 +02:00
plugins loop: Fix crash because of overflow 2021-07-19 09:53:23 +02:00
tests meson.build: adds summary() to optional programs 2021-06-29 17:23:37 +00:00
tools json: don't escape / 2021-06-24 16:18:59 +02:00
meson.build spa: meson.build: look for libcamera under another name 2021-06-27 18:24:15 +00:00