diff options
author | Sverker Eriksson <[email protected]> | 2019-06-19 16:25:49 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-06-19 16:27:12 +0200 |
commit | 7d1058ed7de3c04055feb62108a78e29c33c5ddb (patch) | |
tree | 42801fc1314ff3c99d2fdec790cebb067e7c7b86 /erts/emulator/beam | |
parent | 7fe7fa3dde556b5b92522f8279d465bb52baf1f6 (diff) | |
download | otp-7d1058ed7de3c04055feb62108a78e29c33c5ddb.tar.gz otp-7d1058ed7de3c04055feb62108a78e29c33c5ddb.tar.bz2 otp-7d1058ed7de3c04055feb62108a78e29c33c5ddb.zip |
Fix fatal bug in erts_proc_sig_signal_size
called by
erlang:process_info(memory)
erlang:system_info(procs)
crash dump
break menu
Will crash VM if process has a pending monitor DOWN signal in its queue.
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_proc_sig_queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_proc_sig_queue.c b/erts/emulator/beam/erl_proc_sig_queue.c index d475a0a634..60060cb092 100644 --- a/erts/emulator/beam/erl_proc_sig_queue.c +++ b/erts/emulator/beam/erl_proc_sig_queue.c @@ -3865,6 +3865,7 @@ erts_proc_sig_signal_size(ErtsSignal *sig) case ERTS_MON_TYPE_DIST_PROC: case ERTS_MON_TYPE_NODE: size = erts_monitor_size((ErtsMonitor *) sig); + break; default: ERTS_INTERNAL_ERROR("Unexpected sig type"); break; |