Author: sayer
Date: 2010-04-20 16:34:37 +0200 (Tue, 20 Apr 2010)
New Revision: 1812
Modified:
trunk/core/sip/trans_layer.cpp
Log:
replying with ERROR instead of abort (e.g. on AmSipDialog::reply_error no
non-existing request)
Modified: trunk/core/sip/trans_layer.cpp
===================================================================
--- trunk/core/sip/trans_layer.cpp 2010-04-20 10:51:36 UTC (rev 1811)
+++ trunk/core/sip/trans_layer.cpp 2010-04-20 14:34:37 UTC (rev 1812)
@@ -115,8 +115,12 @@
// - Accept
assert(tt);
- assert(tt->_bucket && tt->_t);
+ if (!tt->_bucket || !tt->_t) {
+ ERROR("Invalid transaction ticket\n");
+ return -1;
+ }
+
trans_bucket* bucket = tt->_bucket;
sip_trans* t = tt->_t;
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev