Skip to content

Commit

Permalink
Fix crash on incoming TLS call with only unsupported cipher offered (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Mokolea authored Oct 29, 2024
1 parent 44b77b6 commit cc83544
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pjsip/src/pjsua-lib/pjsua_call.c
Original file line number Diff line number Diff line change
Expand Up @@ -2045,7 +2045,7 @@ pj_bool_t pjsua_call_on_incoming(pjsip_rx_data *rdata)
NULL);
}

if (call->inv->dlg) {
if (call->inv && call->inv->dlg) {
pjsip_inv_terminate(call->inv, sip_err_code, PJ_FALSE);
}
pjsip_dlg_dec_lock(dlg);
Expand Down

0 comments on commit cc83544

Please sign in to comment.