diff options
author | Björn-Egil Dahlberg <[email protected]> | 2015-01-29 16:04:46 +0100 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2015-01-29 16:04:46 +0100 |
commit | 4d960f16d89c880507c951e1c74ac17e349f5dd6 (patch) | |
tree | e5006ab87aeade36b216d8a77425d443c2feed76 /erts/emulator/beam | |
parent | af87b1c3d4897840d8247589a88d3611106ecedc (diff) | |
download | otp-4d960f16d89c880507c951e1c74ac17e349f5dd6.tar.gz otp-4d960f16d89c880507c951e1c74ac17e349f5dd6.tar.bz2 otp-4d960f16d89c880507c951e1c74ac17e349f5dd6.zip |
erts: Fix getifaddrs realloc ptr mismatch
When a buffer was exhausted and subsequently a realloc, we could get
an invalid pointer.
For this to occur we would need to have a realloc to lower adresses.
The symptom would be garbage returned from erlang:port_control(Port, 25, [])
(prim_inet:getifaddrs(Port) resulting in a badarg) or a segmentation fault.
Diffstat (limited to 'erts/emulator/beam')
0 files changed, 0 insertions, 0 deletions