[sr-dev] git:master:271554b9: Merge pull request #553 from adubovikov/master

Daniel-Constantin Mierla miconda at gmail.com
Fri Apr 1 09:21:01 CEST 2016


Module: kamailio
Branch: master
Commit: 271554b9100eb6f1c7d7a23861a8a8e2d74fd939
URL: https://github.com/kamailio/kamailio/commit/271554b9100eb6f1c7d7a23861a8a8e2d74fd939

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2016-04-01T09:20:56+02:00

Merge pull request #553 from adubovikov/master

modules/sipcapture: fixed correlation_id pointer for HEPv2/v1

---

Modified: modules/sipcapture/hep.c

---

Diff:  https://github.com/kamailio/kamailio/commit/271554b9100eb6f1c7d7a23861a8a8e2d74fd939.diff
Patch: https://github.com/kamailio/kamailio/commit/271554b9100eb6f1c7d7a23861a8a8e2d74fd939.patch

---

diff --git a/modules/sipcapture/hep.c b/modules/sipcapture/hep.c
index 6c934dc..bbafa5a 100644
--- a/modules/sipcapture/hep.c
+++ b/modules/sipcapture/hep.c
@@ -66,6 +66,9 @@ int hep_msg_received(void *data)
         len = (unsigned *)srevp[1];
         ri = (struct receive_info *)srevp[2];                        
 
+	correlation_id = NULL;
+	authkey = NULL;
+
 	count++;
         struct hep_hdr *heph;
         /* hep_hdr */
@@ -100,6 +103,9 @@ int hepv2_received(char *buf, unsigned int len, struct receive_info *ri){
         memset(heptime, 0, sizeof(struct hep_timehdr));
 
         struct hep_ip6hdr *hepip6h = NULL;
+            	        
+	correlation_id = NULL;
+	authkey = NULL;
 
 	hep_offset = 0; 
 	




More information about the sr-dev mailing list