Module: kamailio
Branch: master
Commit: 849763ae85e50e838e26c7b107bcc29556c0e052
URL:
https://github.com/kamailio/kamailio/commit/849763ae85e50e838e26c7b107bcc29…
Author: Henning Westerholt <hw(a)skalatan.de>
Committer: Henning Westerholt <hw(a)skalatan.de>
Date: 2019-08-08T21:06:42+02:00
sipt: set whole static buffer to 0
---
Modified: src/modules/sipt/sipt.c
---
Diff:
https://github.com/kamailio/kamailio/commit/849763ae85e50e838e26c7b107bcc29…
Patch:
https://github.com/kamailio/kamailio/commit/849763ae85e50e838e26c7b107bcc29…
---
diff --git a/src/modules/sipt/sipt.c b/src/modules/sipt/sipt.c
index f64686dbc7..58b92fd985 100644
--- a/src/modules/sipt/sipt.c
+++ b/src/modules/sipt/sipt.c
@@ -339,7 +339,7 @@ static int sipt_get_redirection_number(struct sip_msg *msg, pv_param_t
*param, p
str body;
body.s = get_body_part(msg, TYPE_APPLICATION,SUBTYPE_ISUP,&body.len);
- sb_s_buf[0] = '\0';
+ memset(sb_s_buf, 0, 26);
if(body.s == NULL)
{
LM_INFO("No ISUP Message Found");