aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_bif_binary.c
diff options
context:
space:
mode:
authorSteve Vinoski <[email protected]>2014-03-28 08:58:05 -0400
committerSteve Vinoski <[email protected]>2014-03-28 08:58:05 -0400
commit98ca47d657fafa4d91b128053e9286114115c0a8 (patch)
treecd8e8226577b5d9588f993fbc49b925dcf85628e /erts/emulator/beam/erl_bif_binary.c
parent1ce93cb76672b523dbe2c9402f2d36ab431854ea (diff)
downloadotp-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_bif_binary.c')
0 files changed, 0 insertions, 0 deletions