Module: sip-router
Branch: master
Commit: 3bc87f139bc9635e23a4e92b03d24e00b97706dd
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3bc87f1…
Author: Carlos Ruiz Diaz <carlos.ruizdiaz(a)gmail.com>
Committer: Carlos Ruiz Diaz <carlos.ruizdiaz(a)gmail.com>
Date: Wed Sep 18 13:39:23 2013 -0400
ims_registrar_scscf: fixed bug caused by uninitialized global variable
- "rerrno" variable was not initialized and caused corruption in transaction
states
---
modules/ims_registrar_scscf/cxdx_sar.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/ims_registrar_scscf/cxdx_sar.c
b/modules/ims_registrar_scscf/cxdx_sar.c
index 51dafdd..7ff976b 100644
--- a/modules/ims_registrar_scscf/cxdx_sar.c
+++ b/modules/ims_registrar_scscf/cxdx_sar.c
@@ -101,6 +101,7 @@ void async_cdp_callback(int is_timeout, void *param, AAAMessage *saa,
long elaps
str xml_data = {0, 0}, ccf1 = {0, 0}, ccf2 = {0, 0}, ecf1 = {0, 0}, ecf2 = {0, 0};
ims_subscription* s = 0;
+ rerrno = R_FINE;
if (!param) {
LM_DBG("No transaction data this must have been called from usrloc cb impu
deleted - just log result code and then exit");