[Freeswitch-svn] [commit] r13322 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/nta
FreeSWITCH SVN
mikej at freeswitch.org
Fri May 15 08:47:55 PDT 2009
Author: mikej
Date: Fri May 15 10:47:55 2009
New Revision: 13322
Log:
Tue May 12 11:08:07 CDT 2009 Pekka Pessi <first.last at nokia.com>
* nta: do not free transaction in reliable_timeout() if caused by failure to send final response
Ignore-this: 8e32f83925b6f2a3629afbb8b20ba693
Issue detected by Coverity.
Modified:
freeswitch/trunk/libs/sofia-sip/.update
freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.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:47:55 2009
@@ -1 +1 @@
-Fri May 15 10:46:01 CDT 2009
+Fri May 15 10:47:06 CDT 2009
Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c (original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c Fri May 15 10:47:55 2009
@@ -11007,10 +11007,12 @@
irq->irq_in_callback = 0;
+ if (!timeout)
+ return;
+
if (irq->irq_completed && irq->irq_destroyed)
incoming_free(irq), irq = NULL;
-
- if (timeout && irq && irq->irq_status < 200)
+ else if (irq->irq_status < 200)
nta_incoming_treply(irq, 503, "Reliable Response Time-Out", TAG_END());
}
More information about the Freeswitch-svn
mailing list