diff options
author | Henrik Nord <[email protected]> | 2014-01-24 15:36:54 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2014-01-24 15:36:59 +0100 |
commit | f91ff5a916561126e9d000c0b7021c6d45d1d50d (patch) | |
tree | e856d141618deb8d4235f1af30038c7b24989f3d /lib | |
parent | b7aa85bd9d9c5025a2f53655e8dc67e9d17233de (diff) | |
parent | 4e4d1e13d6aeb925c04611dd30626319e64f0784 (diff) | |
download | otp-f91ff5a916561126e9d000c0b7021c6d45d1d50d.tar.gz otp-f91ff5a916561126e9d000c0b7021c6d45d1d50d.tar.bz2 otp-f91ff5a916561126e9d000c0b7021c6d45d1d50d.zip |
Merge branch 'oliv3/fix_valgrind_warning_in_gen_challenge'
* oliv3/fix_valgrind_warning_in_gen_challenge:
(memcheck) Uninitialized structure in gen_challenge
OTP-11608
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(); |