diff options
author | Olivier Girondel <[email protected]> | 2014-01-20 16:43:58 +0100 |
---|---|---|
committer | Olivier Girondel <[email protected]> | 2014-01-20 16:43:58 +0100 |
commit | 4e4d1e13d6aeb925c04611dd30626319e64f0784 (patch) | |
tree | e9ee0860f791d615405d8f33581cbdbbdd5b72bf /lib | |
parent | 65a580abaa082019b7f21df719f0b29b1eee3577 (diff) | |
download | otp-4e4d1e13d6aeb925c04611dd30626319e64f0784.tar.gz otp-4e4d1e13d6aeb925c04611dd30626319e64f0784.tar.bz2 otp-4e4d1e13d6aeb925c04611dd30626319e64f0784.zip |
(memcheck) Uninitialized structure in gen_challenge
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erl_interface/src/connect/ei_connect.c | 1 |
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(); |