Module: kamailio Branch: master Commit: c814f9fb6aa20ae18253f0d165795516a8869085 URL: https://github.com/kamailio/kamailio/commit/c814f9fb6aa20ae18253f0d165795516...
Author: Luis Azedo luis@2600hz.com Committer: lazedo luis.azedo@factorlusitano.com Date: 2018-10-01T17:13:05+02:00
nathelper: initialize local variable
---
Modified: src/modules/nathelper/nathelper.c
---
Diff: https://github.com/kamailio/kamailio/commit/c814f9fb6aa20ae18253f0d165795516... Patch: https://github.com/kamailio/kamailio/commit/c814f9fb6aa20ae18253f0d165795516...
---
diff --git a/src/modules/nathelper/nathelper.c b/src/modules/nathelper/nathelper.c index bb9c99767f..27015b7bd8 100644 --- a/src/modules/nathelper/nathelper.c +++ b/src/modules/nathelper/nathelper.c @@ -1644,7 +1644,7 @@ static int ki_fix_nated_sdp(sip_msg_t *msg, int level) static int fix_nated_sdp_f(struct sip_msg *msg, char *str1, char *str2) { int level; - str ip; + str ip = {0,0};
if(fixup_get_ivalue(msg, (gparam_t *)str1, &level) != 0) { LM_ERR("failed to get value for first parameter\n");