diff options
author | Steve Vinoski <[email protected]> | 2014-03-28 08:58:05 -0400 |
---|---|---|
committer | Steve Vinoski <[email protected]> | 2014-03-28 08:58:05 -0400 |
commit | 98ca47d657fafa4d91b128053e9286114115c0a8 (patch) | |
tree | cd8e8226577b5d9588f993fbc49b925dcf85628e /erts/emulator/beam/erl_smp.h | |
parent | 1ce93cb76672b523dbe2c9402f2d36ab431854ea (diff) | |
download | otp-98ca47d657fafa4d91b128053e9286114115c0a8.tar.gz otp-98ca47d657fafa4d91b128053e9286114115c0a8.tar.bz2 otp-98ca47d657fafa4d91b128053e9286114115c0a8.zip |
fix dirty NIF invalid memory read
Dirty NIF support used an Export structure to facilitate calls to dirty
NIFs and finalizers, but Export isn't large enough to hold all necessary
data. This was causing an invalid memory read in beam_emu.c past the end of
the Export object. Add a local extended Export struct to erl_nif.c that can
hold all the necessary data.
Diffstat (limited to 'erts/emulator/beam/erl_smp.h')
0 files changed, 0 insertions, 0 deletions