Skip to content
Snippets Groups Projects
Commit bfaefc88 authored by Tristan Matthews's avatar Tristan Matthews
Browse files

* #9847: handle invalid remote session gracefully

parent 32f406ed
No related branches found
No related tags found
No related merge requests found
......@@ -287,7 +287,11 @@ void Sdp::createOffer(const CodecOrder &selectedCodecs)
void Sdp::receiveOffer(const pjmedia_sdp_session* remote,
const CodecOrder &selectedCodecs)
{
assert(remote);
if (!remote) {
ERROR("SDP: Remote session is NULL");
return;
}
DEBUG("SDP: Remote SDP Session:");
printSession(remote);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment