diff options
author | John Högberg <[email protected]> | 2018-07-12 21:55:00 +0200 |
---|---|---|
committer | John Högberg <[email protected]> | 2018-07-13 09:57:51 +0200 |
commit | 32d674c58ba0cfddb2d5e2e83a8bf3b9a70cce4d (patch) | |
tree | 7ce0cdd94a53b611f3e038893c0cad43490b5331 /erts/emulator/test/op_SUITE.erl | |
parent | 1f55b15c5e3f6ff79c855963876c501e9f782406 (diff) | |
download | otp-32d674c58ba0cfddb2d5e2e83a8bf3b9a70cce4d.tar.gz otp-32d674c58ba0cfddb2d5e2e83a8bf3b9a70cce4d.tar.bz2 otp-32d674c58ba0cfddb2d5e2e83a8bf3b9a70cce4d.zip |
Fix a rare crash when matching on literal maps
When matching on a literal map, the map is placed into the general
scratch register first. This is fine in isolation, but when the
key to be matched was in a Y register it would also be placed in
the scratch register, overwriting the map and crashing the
emulator.
Diffstat (limited to 'erts/emulator/test/op_SUITE.erl')
0 files changed, 0 insertions, 0 deletions