[Freeswitch-svn] [commit] r3921 - freeswitch/trunk/src/mod/endpoints/mod_sofia
Freeswitch SVN
mikej at freeswitch.org
Sat Jan 6 15:57:31 EST 2007
Author: mikej
Date: Sat Jan 6 15:57:30 2007
New Revision: 3921
Modified:
freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
Log:
fix segfault.
Modified: freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c (original)
+++ freeswitch/trunk/src/mod/endpoints/mod_sofia/mod_sofia.c Sat Jan 6 15:57:30 2007
@@ -2732,7 +2732,7 @@
}
break;
case nua_callstate_ready:
- if (nh == tech_pvt->nh2) {
+ if (tech_pvt && nh == tech_pvt->nh2) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Cheater Reinvite!\n");
switch_set_flag_locked(tech_pvt, TFLAG_REINVITE);
tech_pvt->nh = tech_pvt->nh2;
More information about the Freeswitch-svn
mailing list