diff options
author | Sverker Eriksson <[email protected]> | 2010-07-06 20:28:51 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2010-07-07 14:31:58 +0200 |
commit | ac90c289ab5ce18395c5fa53c30b38bc5f50ae1d (patch) | |
tree | d2d5c15054299553fdef69113871fe17cf2f59be /erts/emulator/beam/dist.c | |
parent | 91078fbc7b0719150a0c7749a1de9e5c0c9bbdeb (diff) | |
download | otp-ac90c289ab5ce18395c5fa53c30b38bc5f50ae1d.tar.gz otp-ac90c289ab5ce18395c5fa53c30b38bc5f50ae1d.tar.bz2 otp-ac90c289ab5ce18395c5fa53c30b38bc5f50ae1d.zip |
Fix ets:select hanging on ordered_set with empty list as key.
erl_db_tree.c incorrectly used NIL (empty list) as "lastkey" to mark
start of the iteration. A real NIL key could then cause a
select or match iteration to be restarted over and over again if the
last key before a trap happended to be NIL.
Changed NIL to THE_NON_VALUE. Should be ok as the initial key value can
never be put into any continuation tuple.
Diffstat (limited to 'erts/emulator/beam/dist.c')
0 files changed, 0 insertions, 0 deletions