pipewire/spa
Michael Tretter 94ffe88b65 filter: return error if id cannot be dereferenced
If an ID cannot be de-referenced, e.g., because the builder buffer is
too small, spa_pod_filter() still reports success, but the result is
NULL. Any subsequent access to result will cause a segfault.

Return an error if no pod is found to properly propagate and handle the
error.

The segfault can be reproduced by using the v4l2 module with Vivid
devices [0], because the buffer for the v4l2 controls is too small.

[0] https://github.com/PipeWire/pipewire/issues/138
2019-12-19 15:43:04 +01:00
..
examples the epoll shim should only be used by the system library. 2019-11-19 15:16:18 +01:00
include filter: return error if id cannot be dereferenced 2019-12-19 15:43:04 +01:00
plugins Make interface types a string 2019-12-19 13:36:04 +01:00
tests Make interface types a string 2019-12-19 13:36:04 +01:00
tools Make interface types a string 2019-12-19 13:36:04 +01:00
meson.build jack: add jack source and sink 2019-08-20 20:35:41 +02:00