Browse code

tm: init timeval structs

(cherry picked from commit a749cc53ac4aa4825ba8d720825db856d897efb2)

Daniel-Constantin Mierla authored on 05/04/2021 16:06:01
Showing 1 changed files
... ...
@@ -1005,8 +1005,8 @@ int run_failure_handlers(tm_cell_t *t, struct sip_msg *rpl,
1005 1005
 	struct sip_msg *shmem_msg = t->uas.request;
1006 1006
 	int on_failure;
1007 1007
 	sr_kemi_eng_t *keng = NULL;
1008
-	struct timeval tvb;
1009
-	struct timeval tve;
1008
+	struct timeval tvb = {0};
1009
+	struct timeval tve = {0};
1010 1010
 	unsigned long tvd = 0;
1011 1011
 	unsigned int t_hash_index = 0;
1012 1012
 	unsigned int t_label = 0;