pipewire/src/modules/module-client-node
Wim Taymans b08cfcb883 client-node: avoid using invalid fd or mem in clear_data
Don't close an -1 fd in clear_data.

If we let the client allocate buffer, set our fd and data to invalid
values. If the client decides to renegotiate before we get the buffer
data we might otherwise try to clear the mem_id (default 0) or
close the fd (also default 0).

Fixes #5162
2026-03-19 09:31:10 +01:00
..
v0 mem: MAPPABLE -> UNMAPPABLE 2024-04-10 13:11:54 +02:00
client-node.c client-node: avoid using invalid fd or mem in clear_data 2026-03-19 09:31:10 +01:00
client-node.h treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
protocol-native.c protocol: don't allow NULL event or command 2024-01-03 14:05:39 +01:00
remote-node.c client-node: let all events go to the node 2025-05-21 15:28:08 +02:00