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

* #9847: fixed segfault on bad call invite

parent f8a15842
No related branches found
No related tags found
No related merge requests found
......@@ -311,6 +311,12 @@ pj_bool_t transaction_request_cb(pjsip_rx_data *rdata)
PJ_ASSERT_RETURN(pjsip_dlg_set_transport(dialog, tp) == PJ_SUCCESS, 1);
if (!call->inv) {
ERROR("SIPVoIPLink: Call invite is not initialized");
delete call;
return false;
}
call->inv->mod_data[mod_ua_.id] = call;
// Check whether Replaces header is present in the request and process accordingly.
......
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