mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
When we receive a message with fds and we are at the end of the buffer, we will call clear_buffer, which moves the next fds over the fds of this message before we copy the fds into the message. This results in the fd being leaked and the message using the fd of the next message instead. Avoid this by first copying the fds into the message and then move the new ones over the old ones. This fixes some wrong fds being used by clients. |
||
|---|---|---|
| .. | ||
| v0 | ||
| connection.c | ||
| connection.h | ||
| defs.h | ||
| local-socket.c | ||
| portal-screencast.c | ||
| protocol-footer.c | ||
| protocol-footer.h | ||
| protocol-native.c | ||
| security-context.c | ||
| test-connection.c | ||