mirror of https://github.com/sipwise/rtpengine.git
MT#58441 Coverity Scan report introduced by 1bf894c
This is a fix for the following found defect: *** CID 1568540: Null pointer dereferences (REVERSE_INULL) /daemon/sdp.c: 2065 in insert_codec_parameters() 2059 pt->payload_type, 2060 STR_FMT(&pt->format_parameters)); 2061 } 2062 if (s_dst->len) { 2063 /* append to the chop->output */ 2064 append_attr_to_gstring(s, s_dst->str, NULL, flags, >>> CID 1568540: Null pointer dereferences (REVERSE_INULL) >>> Null-checking "cm" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 2065 (cm ? cm->type_id : MT_UNKNOWN)); 2066 } 2067 g_string_free(s_dst, TRUE); 2068 } 2069 2070 /* rtcp-fb */ Change-Id: I309fd6268b889ceaf32a58d2fbe17a8c891a95d6pull/1747/head
parent
86b64ba4fc
commit
f636f54a2f
Loading…
Reference in new issue