mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 14:28:34 +00:00
FS-9135: handle null sdp sent to switch_core_media_set_sdp_codec_string
This commit is contained in:
1 parent
002079d0e7
commit
a8288ec1a9
1 file changed
+1
@@ -10096,6 +10096,7 @@ SWITCH_DECLARE(void) switch_core_media_set_sdp_codec_string(switch_core_session_
|
||||
}
|
||||
|
||||
if (!r_sdp) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_WARNING, "Setting NULL SDP is invalid\n");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user