aboutsummaryrefslogtreecommitdiffstats
path: root/lib/erl_interface/src/connect
diff options
context:
space:
mode:
authorOlivier Girondel <[email protected]>2014-01-20 16:43:58 +0100
committerOlivier Girondel <[email protected]>2014-01-20 16:43:58 +0100
commit4e4d1e13d6aeb925c04611dd30626319e64f0784 (patch)
treee9ee0860f791d615405d8f33581cbdbbdd5b72bf /lib/erl_interface/src/connect
parent65a580abaa082019b7f21df719f0b29b1eee3577 (diff)
downloadotp-4e4d1e13d6aeb925c04611dd30626319e64f0784.tar.gz
otp-4e4d1e13d6aeb925c04611dd30626319e64f0784.tar.bz2
otp-4e4d1e13d6aeb925c04611dd30626319e64f0784.zip
(memcheck) Uninitialized structure in gen_challenge
Diffstat (limited to 'lib/erl_interface/src/connect')
-rw-r--r--lib/erl_interface/src/connect/ei_connect.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/erl_interface/src/connect/ei_connect.c b/lib/erl_interface/src/connect/ei_connect.c
index 8f1f231b82..c9aa28812c 100644
--- a/lib/erl_interface/src/connect/ei_connect.c
+++ b/lib/erl_interface/src/connect/ei_connect.c
@@ -1161,6 +1161,7 @@ static unsigned int gen_challenge(void)
struct utsname name;
} s;
+ memset(&s, 0, sizeof(s));
gettimeofday(&s.tv, 0);
uname(&s.name);
s.cpu = clock();