Module: kamailio
Branch: master
Commit: cad5cc37c63477fbcf429af34e516b523c74132e
URL:
https://github.com/kamailio/kamailio/commit/cad5cc37c63477fbcf429af34e516b5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-04-07T10:29:24+02:00
app_jsdt: init timeval structures
---
Modified: src/modules/app_jsdt/app_jsdt_api.c
---
Diff:
https://github.com/kamailio/kamailio/commit/cad5cc37c63477fbcf429af34e516b5…
Patch:
https://github.com/kamailio/kamailio/commit/cad5cc37c63477fbcf429af34e516b5…
---
diff --git a/src/modules/app_jsdt/app_jsdt_api.c b/src/modules/app_jsdt/app_jsdt_api.c
index ff4e629075..c41d1d2217 100644
--- a/src/modules/app_jsdt/app_jsdt_api.c
+++ b/src/modules/app_jsdt/app_jsdt_api.c
@@ -1339,7 +1339,7 @@ int sr_kemi_jsdt_exec_func(duk_context *J, int eidx)
{
sr_kemi_t *ket;
int ret;
- struct timeval tvb, tve;
+ struct timeval tvb ={0}, tve = {0};
struct timezone tz;
unsigned int tdiff;
int sline = 0;