Module: sip-router
Branch: 3.3
Commit: a91b2bfedba95bfff756ce35f192afc657050c83
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=a91b2bf…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: Wed Nov 21 17:22:31 2012 +0100
lib/kcore: reset time value for faked msg
- reported by Uri Shacked
(cherry picked from commit a708dcb5ad90ec517db481fea0570ec53863b471)
---
lib/kcore/faked_msg.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/lib/kcore/faked_msg.c b/lib/kcore/faked_msg.c
index 824bc32..3348a14 100644
--- a/lib/kcore/faked_msg.c
+++ b/lib/kcore/faked_msg.c
@@ -71,6 +71,7 @@ struct sip_msg* faked_msg_next(void)
{
_faked_msg.id = 1 + _faked_msg_no++;
_faked_msg.pid = my_pid();
+ memset(&_faked_msg.tval, 0, sizeof(struct timeval));
clear_branches();
return &_faked_msg;
}