Tue May 12 13:07:45 CDT 2009 Pekka Pessi <first.last@nokia.com>

* nua_session.c: check dialog usage before using it in nua_update_server_respond()
  Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
  
  Coverity issue 7312.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13328 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2009-05-15 15:57:37 +00:00
parent 0106f699e6
commit a0b8810d89
2 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
Fri May 15 10:54:18 CDT 2009
Fri May 15 10:57:19 CDT 2009

View File

@ -3543,7 +3543,7 @@ int nua_update_server_respond(nua_server_request_t *sr, tagi_t const *tags)
}
}
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 @@ int nua_update_server_respond(nua_server_request_t *sr, tagi_t const *tags)
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;