pipewire/src/modules
Wim Taymans 4f975d0071 treewide: add error checking to spa_json_builder_close
There could have been a write error or allocation error while building
the json file that we can detect in spa_json_builder_close().

Error out instead of silently using a truncated JSON.

Use spa_autofree for the memory to make cleanup easier.
2026-05-13 18:14:44 +02:00
..
module-adapter *: unify config.h handling 2025-05-30 10:24:13 +00:00
module-avb treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-client-device core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-client-node modules: make sure we don't deref potential NULL 2026-05-05 16:39:27 +02:00
module-jack-tunnel jack: dlclose on errors 2026-05-04 13:20:00 +02:00
module-metadata metadata: Added context monitor for removed globals 2024-02-12 08:40:49 +00:00
module-netjack2 netjack2: handle 0 in sync frames 2026-05-08 11:42:15 +02:00
module-profiler treewide: use SPDX tags to specify copyright information 2023-02-16 10:54:48 +00:00
module-protocol-native treewide: make more file descriptors cloexec 2026-05-04 19:48:41 +02:00
module-protocol-pulse treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-raop modules: use pw_net_get_ip 2026-05-12 12:52:03 +02:00
module-roc pipewire: module-roc-{sink,source}: fix log format string issues 2026-02-19 19:37:15 +00:00
module-rt doc: clarify rlimits conf file 2024-01-05 10:22:28 +01:00
module-rtp rtp: skip header extensions 2026-05-11 09:25:31 +02:00
module-sendspin security: replace unsafe atoi() with validated parsing in websocket 2026-04-28 12:14:36 +02:00
module-session-manager core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-vban vban: fix timestamp overflows 2026-05-07 14:07:33 +02:00
spa doc: move modules around to add to docs 2025-01-28 12:33:47 +01:00
zeroconf-utils zeroconf: check for NULL before doing strdup 2026-05-05 18:17:42 +02:00
flatpak-utils.h modules: get also instance id for flatpak apps 2025-05-12 09:40:32 +00:00
meson.build module-avb: check ptp management socket periodically 2026-05-03 09:49:22 +02:00
module-access.c security: add missing NULL checks and fix error handling in modules 2026-04-30 18:38:32 +02:00
module-adapter.c core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-avb.c *: unify config.h handling 2025-05-30 10:24:13 +00:00
module-client-device.c core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-client-node.c modules: remove v0 protocol support 2025-07-10 16:26:01 +02:00
module-combine-stream.c combine-stream: clean up some variables 2026-05-08 13:10:30 +02:00
module-echo-cancel.c modules: handle more stream setup failures 2026-05-06 16:23:08 +02:00
module-example-filter.c modules: handle more stream setup failures 2026-05-06 16:23:08 +02:00
module-example-sink.c modules: support audio.layout where we can 2025-10-30 12:29:31 +01:00
module-example-source.c modules: support audio.layout where we can 2025-10-30 12:29:31 +01:00
module-fallback-sink.c *: unify config.h handling 2025-05-30 10:24:13 +00:00
module-ffado-driver.c modules: handle allocation errors gracefully 2026-05-05 13:10:21 +02:00
module-filter-chain.c filter-graph: add min plugin 2026-05-11 15:39:40 +00:00
module-jack-tunnel.c jack-tunnel: pass bytes to jack_to_midi 2026-05-04 13:51:55 +02:00
module-jackdbus-detect.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-link-factory.c core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-loopback.c loopback: handle stream setup failure 2026-05-06 16:07:59 +02:00
module-metadata.c core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-netjack2-driver.c modules: make and use pw_net_is_multicast 2026-05-12 13:02:21 +02:00
module-netjack2-manager.c modules: make and use pw_net_is_multicast 2026-05-12 13:02:21 +02:00
module-parametric-equalizer.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-pipe-tunnel.c modules: handle allocation errors 2026-05-01 12:29:54 +02:00
module-portal.c modules: fix portal error handling 2026-05-06 13:48:35 +02:00
module-profiler.c profiler: fix cleanup on errors 2026-05-06 12:39:39 +02:00
module-protocol-native.c protocol-native: unref resource after logging the error 2026-05-13 11:12:17 +02:00
module-protocol-pulse.c security: add total sample cache size limit in PulseAudio protocol 2026-04-29 16:39:57 +02:00
module-protocol-simple.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-pulse-tunnel.c security: add missing NULL checks and fix error handling in modules 2026-04-30 18:38:32 +02:00
module-raop-discover.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-raop-sink.c modules: use pw_net_get_ip 2026-05-12 12:52:03 +02:00
module-roc-sink.c modules: handle allocation errors 2026-05-01 12:29:54 +02:00
module-roc-source.c modules: handle allocation errors 2026-05-01 12:29:54 +02:00
module-rt.c security: add missing NULL checks and fix error handling in modules 2026-04-30 18:38:32 +02:00
module-rtp-sap.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-rtp-session.c modules: loop_add_io with close=true owns the fd 2026-05-06 11:57:51 +02:00
module-rtp-sink.c modules: make and use pw_net_is_multicast 2026-05-12 13:02:21 +02:00
module-rtp-source.c modules: loop_add_io with close=true owns the fd 2026-05-06 11:57:51 +02:00
module-scheduler-v1.c scheduler: make nodes move to IDLE when inactive 2026-04-14 14:28:29 +02:00
module-sendspin-recv.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-sendspin-send.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-session-manager.c Fix typos 2024-05-22 09:19:34 +02:00
module-snapcast-discover.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
module-spa-device-factory.c core: use %u format specifier for uint32_t IDs 2026-04-16 08:54:15 +00:00
module-spa-device.c doc: move modules around to add to docs 2025-01-28 12:33:47 +01:00
module-spa-node-factory.c modules: avoid useless props copy 2026-05-05 14:15:44 +02:00
module-spa-node.c doc: move modules around to add to docs 2025-01-28 12:33:47 +01:00
module-vban-recv.c vban: limit the stream_name 2026-05-06 11:57:52 +02:00
module-vban-send.c modules: make and use pw_net_is_multicast 2026-05-12 13:02:21 +02:00
module-x11-bell.c *: unify config.h handling 2025-05-30 10:24:13 +00:00
module-zeroconf-discover.c treewide: add error checking to spa_json_builder_close 2026-05-13 18:14:44 +02:00
network-utils.h modules: make and use pw_net_is_multicast 2026-05-12 13:02:21 +02:00