diff options
author | Richard Carlsson <[email protected]> | 2015-04-26 16:29:53 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-06-10 15:56:56 +0200 |
commit | 3219822bb549a9d0d40ff29463f0bfe7d1eedd37 (patch) | |
tree | d19b0294cc422e689356a598dc858e601a6c5283 /erts/emulator/test/emulator.spec.win | |
parent | d8f343b234174d49bc66d5bddbe79f24400868e6 (diff) | |
download | otp-3219822bb549a9d0d40ff29463f0bfe7d1eedd37.tar.gz otp-3219822bb549a9d0d40ff29463f0bfe7d1eedd37.tar.bz2 otp-3219822bb549a9d0d40ff29463f0bfe7d1eedd37.zip |
Fix segfault in module_info for deleted modules
Add a check to protect from segfault when erlang:get_module_info/1/2 is
called on a deleted module (i.e. with no current code). Also refactor
erts_module_info_0/1 to avoid repeated calls to erts_active_code_ix() and
remove some obsolete comments. Add test for module_info on deleted modules.
Diffstat (limited to 'erts/emulator/test/emulator.spec.win')
0 files changed, 0 insertions, 0 deletions