mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-09 13:30:06 -05:00
The message structures returned by pw_protocol_native_connection_get_next point to data that is contained in the buffer of the connection. The data was invalidated when pw_protocol_native_connection_get_next was called the next time, which made the connection loop non-reentrant, in cases where it was re-entered from demarshal callbacks. Fix this by allocating new buffers when reentering and stashing the old buffers onto a stack. The returned message structure is also stored on the stack to make lifetimes to match. |
||
|---|---|---|
| .. | ||
| module-adapter | ||
| module-client-device | ||
| module-client-node | ||
| module-metadata | ||
| module-profiler | ||
| module-protocol-native | ||
| module-protocol-pulse | ||
| module-session-manager | ||
| spa | ||
| meson.build | ||
| module-access.c | ||
| module-adapter.c | ||
| module-client-device.c | ||
| module-client-node.c | ||
| module-link-factory.c | ||
| module-metadata.c | ||
| module-portal.c | ||
| module-profiler.c | ||
| module-protocol-native.c | ||
| module-protocol-pulse.c | ||
| module-rtkit.c | ||
| module-session-manager.c | ||