diff options
author | Sverker Eriksson <[email protected]> | 2015-03-05 18:48:14 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-03-12 19:15:33 +0100 |
commit | 01e843722aa39b3411d349c6fbea80ad87a6e9ef (patch) | |
tree | f3e012dcd03dc5a456ad51a36d11f4e9abf4cea5 /erts/emulator/beam/beam_emu.c | |
parent | 494223c5e5de14c3f7a9aa8395d2d99a7faa0eca (diff) | |
download | otp-01e843722aa39b3411d349c6fbea80ad87a6e9ef.tar.gz otp-01e843722aa39b3411d349c6fbea80ad87a6e9ef.tar.bz2 otp-01e843722aa39b3411d349c6fbea80ad87a6e9ef.zip |
erts: Reject duplicate keys for hamt in binary_to_term
Diffstat (limited to 'erts/emulator/beam/beam_emu.c')
-rw-r--r-- | erts/emulator/beam/beam_emu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/beam_emu.c b/erts/emulator/beam/beam_emu.c index 9b4cd38d69..d45aa93f73 100644 --- a/erts/emulator/beam/beam_emu.c +++ b/erts/emulator/beam/beam_emu.c @@ -6589,7 +6589,7 @@ new_map(Process* p, Eterm* reg, BeamInstr* I) p->htop = mhp; factory.p = p; - return erts_hashmap_from_array(&factory, thp, n/2); + return erts_hashmap_from_array(&factory, thp, n/2, 0); } if (HeapWordsLeft(p) < need) { |