Module: kamailio
Branch: master
Commit: 0247c336e208912324c71aea9843e688d7c5a463
URL:
https://github.com/kamailio/kamailio/commit/0247c336e208912324c71aea9843e68…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-01-11T08:19:42+01:00
lcr: init buffers to try to get rid of new warnings
---
Modified: src/modules/lcr/lcr_mod.c
---
Diff:
https://github.com/kamailio/kamailio/commit/0247c336e208912324c71aea9843e68…
Patch:
https://github.com/kamailio/kamailio/commit/0247c336e208912324c71aea9843e68…
---
diff --git a/src/modules/lcr/lcr_mod.c b/src/modules/lcr/lcr_mod.c
index 630593bd36..9647dde044 100644
--- a/src/modules/lcr/lcr_mod.c
+++ b/src/modules/lcr/lcr_mod.c
@@ -2900,6 +2900,8 @@ static int ki_next_gw(sip_msg_t *_m)
struct ip_addr addr;
tag_str.s = &(tag[0]);
+ r_uri[0] = '\0';
+ dst_uri[0] = '\0';
ru_avp = search_first_avp(
ruri_user_avp_type, ruri_user_avp, &ruri_user_val, 0);