Module: kamailio
Branch: master
Commit: a749cc53ac4aa4825ba8d720825db856d897efb2
URL:
https://github.com/kamailio/kamailio/commit/a749cc53ac4aa4825ba8d720825db85…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-04-05T18:06:01+02:00
tm: init timeval structs
---
Modified: src/modules/tm/t_reply.c
---
Diff:
https://github.com/kamailio/kamailio/commit/a749cc53ac4aa4825ba8d720825db85…
Patch:
https://github.com/kamailio/kamailio/commit/a749cc53ac4aa4825ba8d720825db85…
---
diff --git a/src/modules/tm/t_reply.c b/src/modules/tm/t_reply.c
index c8dd0c91ce..a46921cbfd 100644
--- a/src/modules/tm/t_reply.c
+++ b/src/modules/tm/t_reply.c
@@ -1005,8 +1005,8 @@ int run_failure_handlers(tm_cell_t *t, struct sip_msg *rpl,
struct sip_msg *shmem_msg = t->uas.request;
int on_failure;
sr_kemi_eng_t *keng = NULL;
- struct timeval tvb;
- struct timeval tve;
+ struct timeval tvb = {0};
+ struct timeval tve = {0};
unsigned long tvd = 0;
unsigned int t_hash_index = 0;
unsigned int t_label = 0;