From 68241d7b83183fc69fd1eff290decaed7b44abdf Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Tue, 27 Oct 2026 07:27:22 -0400 Subject: [PATCH] MT#55283 skip printing attributes if no sfd Change-Id: Id6a61c7a7ddc4c47096ff534941f053cb00bb470 Warned-by: Coverity (cherry picked from commit f89eec4a06d2163efdf3c845499c0ab8bfca431c) (cherry picked from commit ad695136fe320a05b6182da72ba44d88bde96de9) --- daemon/sdp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daemon/sdp.c b/daemon/sdp.c index c022ad577..cae251dee 100644 --- a/daemon/sdp.c +++ b/daemon/sdp.c @@ -2508,6 +2508,9 @@ static void insert_candidates(GString *s, struct packet_stream *rtp, struct pack unsigned int type_pref, local_pref; enum ice_candidate_type cand_type; + if (!rtp->selected_sfd) + return; + media = rtp->media; cand_type = ICT_HOST;