aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/external.h
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2015-04-26 16:29:53 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-06-10 15:56:56 +0200
commit3219822bb549a9d0d40ff29463f0bfe7d1eedd37 (patch)
treed19b0294cc422e689356a598dc858e601a6c5283 /erts/emulator/beam/external.h
parentd8f343b234174d49bc66d5bddbe79f24400868e6 (diff)
downloadotp-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/beam/external.h')
0 files changed, 0 insertions, 0 deletions