aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-01-29 16:04:46 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-01-29 16:04:46 +0100
commit4d960f16d89c880507c951e1c74ac17e349f5dd6 (patch)
treee5006ab87aeade36b216d8a77425d443c2feed76 /lib/inets
parentaf87b1c3d4897840d8247589a88d3611106ecedc (diff)
downloadotp-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 'lib/inets')
0 files changed, 0 insertions, 0 deletions