Module: kamailio Branch: master Commit: 0b684a5d9a2f5d17e64cb8cb5f4b53b06f180f06 URL: https://github.com/kamailio/kamailio/commit/0b684a5d9a2f5d17e64cb8cb5f4b53b0...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2022-03-15T10:00:41+01:00
sipcapture: more init buffers content
---
Modified: src/modules/sipcapture/sipcapture.c
---
Diff: https://github.com/kamailio/kamailio/commit/0b684a5d9a2f5d17e64cb8cb5f4b53b0... Patch: https://github.com/kamailio/kamailio/commit/0b684a5d9a2f5d17e64cb8cb5f4b53b0...
---
diff --git a/src/modules/sipcapture/sipcapture.c b/src/modules/sipcapture/sipcapture.c index 4c032ab239..6ec37ffbd7 100644 --- a/src/modules/sipcapture/sipcapture.c +++ b/src/modules/sipcapture/sipcapture.c @@ -2569,6 +2569,8 @@ int receive_logging_json_msg(char *buf, unsigned int len, str corrtmp = STR_NULL; _capture_mode_data_t *c = NULL;
+ ipstr_dst[0] = '\0'; + ipstr_src[0] = '\0'; c = capture_def; if(!c) { LM_ERR("no connection mode available to store data\n");