[Freeswitch-svn] [commit] r13328 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nua

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 08:57:37 PDT 2009


Author: mikej
Date: Fri May 15 10:57:37 2009
New Revision: 13328

Log:
Tue May 12 13:07:45 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * nua_session.c: check dialog usage before using it in nua_update_server_respond()
  Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
  
  Coverity issue 7312.



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May 15 10:57:37 2009
@@ -1 +1 @@
-Fri May 15 10:54:18 CDT 2009
+Fri May 15 10:57:19 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	Fri May 15 10:57:37 2009
@@ -3543,7 +3543,7 @@
     }
   }
 
-  if (200 <= sr->sr_status && sr->sr_status < 300) {
+  if (ss && 200 <= sr->sr_status && sr->sr_status < 300) {
     session_timer_preferences(ss->ss_timer,
 			      sip,
 			      NH_PGET(nh, supported),
@@ -3552,7 +3552,7 @@
 			      NH_PGET(nh, refresher),
 			      NH_PGET(nh, min_se));
 
-    if (ss && session_timer_is_supported(ss->ss_timer)) {
+    if (session_timer_is_supported(ss->ss_timer)) {
       nua_server_request_t *sr0;
       int uas;
 



More information about the Freeswitch-svn mailing list