Commit c7fe1e29 authored by Tristan Matthews's avatar Tristan Matthews

* #9847: fixed segfault on bad call invite

parent f8a15842
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment