Module: kamailio Branch: master Commit: d0d2c8fd6a57affac7bffab441b2126b9df0dfb1 URL: https://github.com/kamailio/kamailio/commit/d0d2c8fd6a57affac7bffab441b2126b...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: 2020-07-03T08:30:46+02:00
core: init timeval structs to silent analyzer
---
Modified: src/core/receive.c
---
Diff: https://github.com/kamailio/kamailio/commit/d0d2c8fd6a57affac7bffab441b2126b... Patch: https://github.com/kamailio/kamailio/commit/d0d2c8fd6a57affac7bffab441b2126b...
---
diff --git a/src/core/receive.c b/src/core/receive.c index 38bc1e4ab1..a76fd14519 100644 --- a/src/core/receive.c +++ b/src/core/receive.c @@ -227,7 +227,7 @@ int receive_msg(char *buf, unsigned int len, receive_info_t *rcv_info) struct run_act_ctx ctx; struct run_act_ctx *bctx = NULL; int ret = -1; - struct timeval tvb, tve; + struct timeval tvb = {0}, tve = {0}; unsigned int diff = 0; str inb = STR_NULL; sr_net_info_t netinfo = {0};