Module: kamailio Branch: master Commit: 9292b9f5daacfa5340b5fe1a5f02469a7e597d9b URL: https://github.com/kamailio/kamailio/commit/9292b9f5daacfa5340b5fe1a5f02469a...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-03-15T10:00:41+01:00
sipcapture: init buffers content
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/9292b9f5daacfa5340b5fe1a5f02469a... Patch: https://github.com/kamailio/kamailio/commit/9292b9f5daacfa5340b5fe1a5f02469a...
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c index 9070e1e9fc..4c032ab239 100644 --- a/src/modules/sipcapture/sipcapture.c +++ b/src/modules/sipcapture/sipcapture.c @@ -2580,6 +2580,8 @@ int receive_logging_json_msg(char *buf, unsigned int len, return -1; }
+ ipstr_dst[0] = '\0'; + ipstr_src[0] = '\0'; memset(&sco, 0, sizeof(struct _sipcapture_object)); gettimeofday(&tvb, &tz);