From 01b2af13c7401cb3301fab84e6ff80c07bbddd8c Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 5 May 2026 14:54:43 +0200 Subject: [PATCH] pulse-server: handle strdup error --- src/modules/module-protocol-pulse/module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/modules/module-protocol-pulse/module.c b/src/modules/module-protocol-pulse/module.c index 35b5c9952..37989985b 100644 --- a/src/modules/module-protocol-pulse/module.c +++ b/src/modules/module-protocol-pulse/module.c @@ -121,6 +121,8 @@ void module_args_add_props(struct pw_properties *props, const char *str) { spa_autofree char *s = strdup(str); char *p = s, *e, f; + if (s == NULL) + return; const char *k, *v; const struct str_map *map;