From 1a832a8af32c7117a7b6cd96c929248ce53d639d Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Mon, 4 May 2026 10:29:36 -0400 Subject: [PATCH] MT#55283 fix possible null pointer Change-Id: I1fd579e7403b291e03a7ea0f7aee08370a308721 --- daemon/call.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/call.c b/daemon/call.c index cf5ee895a..74f3bc362 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -4958,7 +4958,7 @@ void subscriber_connect(const medias_q *src_medias, struct call_monologue *dst_m if (src_media->media_id.len) { dst_media = t_hash_table_lookup(dst_ml->media_ids, &src_media->media_id); // type must still match - if (str_cmp_str(&dst_media->type, &src_media->type)) + if (dst_media && str_cmp_str(&dst_media->type, &src_media->type)) dst_media = NULL; }