Module: kamailio
Branch: master
Commit: 7457b3cefd08595c054291398de0f9a4e62691b7
URL:
https://github.com/kamailio/kamailio/commit/7457b3cefd08595c054291398de0f9a…
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_python3: init timeval structures
---
Modified: src/modules/app_python3/apy_kemi.c
---
Diff:
https://github.com/kamailio/kamailio/commit/7457b3cefd08595c054291398de0f9a…
Patch:
https://github.com/kamailio/kamailio/commit/7457b3cefd08595c054291398de0f9a…
---
diff --git a/src/modules/app_python3/apy_kemi.c b/src/modules/app_python3/apy_kemi.c
index 7af949de6e..f3463a781f 100644
--- a/src/modules/app_python3/apy_kemi.c
+++ b/src/modules/app_python3/apy_kemi.c
@@ -1791,7 +1791,7 @@ PyObject *sr_apy_kemi_exec_func(PyObject *self, PyObject *args, int
idx)
PyObject *ret = NULL;
PyThreadState *pstate = NULL;
PyFrameObject *pframe = NULL;
- struct timeval tvb, tve;
+ struct timeval tvb = {0}, tve = {0};
struct timezone tz;
unsigned int tdiff;