pipewire/src/tools
Wim Taymans c3c1216633 security: add missing NULL check after strdup in reserve
Memory Safety: Medium

rd_device_new() did not check the return value of strdup() when
duplicating application_name. On allocation failure, a NULL pointer
would be stored and later passed to D-Bus functions, causing a
crash. Add a NULL check that jumps to the existing error_free
cleanup path.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-29 11:35:31 +02:00
..
dfffile.c pw-cat: fix DSD file reading 2025-09-25 13:56:51 +02:00
dfffile.h pw-cat: fix DSD file reading 2025-09-25 13:56:51 +02:00
dsffile.c spa: add and use spa_overflow macros 2026-04-24 15:55:35 +02:00
dsffile.h pw-cat: fix DSD file reading 2025-09-25 13:56:51 +02:00
meson.build milan-avb: aecp-vendor-unique-milan-v12: dispatch via per-cmd table per Milan v1.2 Section 5.4.4 2026-04-27 10:56:44 +00:00
midiclip.c tools: fix compilation on alpine 2025-08-29 17:59:00 +02:00
midiclip.h tools: add midi clip support 2025-08-29 17:34:34 +02:00
midievent.c tools: debug utility messages better 2025-08-29 17:00:06 +02:00
midievent.h tools: add guards around header include 2025-08-29 17:00:41 +02:00
midifile.c tools: fix realloc failure handling in midifile ensure_buffer 2026-04-17 10:04:35 +08:00
midifile.h tools: move midievent to separate file 2025-08-28 18:05:36 +02:00
pw-audioconvert.c tools: add pw-audioconvert 2026-04-16 12:14:21 +02:00
pw-avb-virtual.c milan-avb: rework mrp join/begin: 2026-04-27 10:56:44 +00:00
pw-cat.c pw-cat: Fix waveX format endian assign 2026-04-16 13:54:24 +02:00
pw-cli.c security: fix integer overflow in pw-cli param info allocation 2026-04-28 13:04:45 +02:00
pw-config.c tools: port various tools to the new json-builder 2026-02-26 10:51:17 +01:00
pw-container.c security: add missing O_CLOEXEC/SOCK_CLOEXEC flags 2026-04-28 12:20:33 +02:00
pw-dot.c security: fix missing malloc/realloc NULL checks in pw-dot 2026-04-23 16:58:06 +02:00
pw-dump.c security: add missing NULL check after strdup in pw-dump 2026-04-29 11:06:18 +02:00
pw-link.c tools: connect to the manager socket by default 2026-04-13 07:39:45 +00:00
pw-loopback.c tools: connect to the manager socket by default 2026-04-13 07:39:45 +00:00
pw-metadata.c tools: connect to the manager socket by default 2026-04-13 07:39:45 +00:00
pw-mididump.c tools: connect to the manager socket by default 2026-04-13 07:39:45 +00:00
pw-mon.c tools: connect to the manager socket by default 2026-04-13 07:39:45 +00:00
pw-profiler.c tools: connect to the manager socket by default 2026-04-13 07:39:45 +00:00
pw-reserve.c tools: improve indentation 2024-02-09 10:24:34 +01:00
pw-top.c pw-top: use spa_strbuf to create status bar 2026-04-23 16:29:16 +02:00
reserve.c security: add missing NULL check after strdup in reserve 2026-04-29 11:35:31 +02:00
reserve.h pw-reserve: require valid name + check rd_reserve_new errors 2023-11-28 10:26:43 +00:00