pipewire/src/tests
Barnabás Pőcze e6e36c4d34 tests: endpoint: fix valgrind uninit warning
Previously, valgrind was warning that

  Syscall param sendmsg(msg.msg_iov[0]) points to uninitialised byte(s)

this was caused by uninitialized values being serialized for IPC.
Specifically, not all members of the `pw_endpoint_info` struct were
initialized, which caused uninitialized bytes to end up in the IPC
buffers due to the `pw_endpoint_emit_info()` in `endpoint_add_listener()`.

Fix that by initializing the missed `id` and `flags` members.
2025-07-20 18:36:20 +02:00
..
meson.build protocol-native: add security context API 2024-03-13 12:53:04 +01:00
test-cpp.cpp treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-endpoint.c tests: endpoint: fix valgrind uninit warning 2025-07-20 18:36:20 +02:00
test-filter.c treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
test-interfaces.c core: add bound_props event 2023-03-21 17:22:27 +01:00
test-security-context.c pw-container: use smaller path for temporary file 2024-06-27 21:18:06 +00:00
test-stream.c tests: update unit test for added field 2024-03-15 12:10:40 +01:00