diff options
author | Björn-Egil Dahlberg <[email protected]> | 2016-07-21 15:57:15 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2016-07-21 15:57:15 +0200 |
commit | 249e3ec86de802232d17666a93665ae638cbc319 (patch) | |
tree | ff576b7ecc84d0048e4994399f2be1c611892f5f /erts/epmd | |
parent | d51dea1f10128537112ebecbecbf2435b05cdc2f (diff) | |
download | otp-249e3ec86de802232d17666a93665ae638cbc319.tar.gz otp-249e3ec86de802232d17666a93665ae638cbc319.tar.bz2 otp-249e3ec86de802232d17666a93665ae638cbc319.zip |
erts: Fix internal hashing entropy for maps
We need to use an initial hash seed for each map pair, i.e. the
hash value. The hash value is reset to the seed for each pair instead
of setting the seed to zero.
If we don't, no additional entropy is given to the system and the
hash collision resolution in maps:from_list/1 would fail.
Diffstat (limited to 'erts/epmd')
0 files changed, 0 insertions, 0 deletions