From: Anthony Minessale Date: Wed, 20 Jan 2016 17:56:10 +0000 (-0600) Subject: FS-8759 #resolve [segfault on 1.7] #comment please update to master X-Git-Tag: v1.6.7~2^2~139 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cffb310f3f5b5ed4a1b1fee84ba9d36a46a110e6;p=thirdparty%2Ffreeswitch.git FS-8759 #resolve [segfault on 1.7] #comment please update to master --- diff --git a/src/mod/endpoints/mod_sofia/sofia.c b/src/mod/endpoints/mod_sofia/sofia.c index 98067676be..e0951fb982 100644 --- a/src/mod/endpoints/mod_sofia/sofia.c +++ b/src/mod/endpoints/mod_sofia/sofia.c @@ -1591,7 +1591,9 @@ static void our_sofia_event_callback(nua_event_t event, sofia_handle_sip_i_info(nua, profile, nh, session, sip, de, tags); break; case nua_i_update: - sofia_update_callee_id(session, profile, sip, SWITCH_TRUE); + if (session) { + sofia_update_callee_id(session, profile, sip, SWITCH_TRUE); + } break; case nua_r_update: if (session && tech_pvt && locked) {