erts: Fix getifaddrs realloc ptr mismatch
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.

beni55/otp,riverrun/otp,msantos/otp,jinshana/otp,krishnakumar4a4/otp,massemanet/otp,emile/otp,sammoth-wazoku/otp,fenollp/otp,GinjaNinja32/otp,weisslj/otp,tuncer/otp,bjorng/otp,NOMORECOFFEE/otp,uabboli/otp,gjaldon/otp,lightcyphers/otp,entropiae/otp,ader1990/otp,matwey/otp,legoscia/otp,kvakvs/otp,RGafiyatullin/otp,kvakvs/otp,matwey/otp,jamesruan/otp,dgud/otp,release-project/otp,legoscia/otp,paulcager/otp,bernardd/otp,dumbbell/otp,cnbin/otp,yangchengjian/otp,klarna/otp,ferd/otp,basho/otp,lantti/otp,bsmr-erlang/otp,vic/otp,ahmedshafeeq/otp,bjorng/otp,jamesruan/otp,ader1990/otp,weisslj/otp,weisslj/otp,g-andrade/otp,hairyhum/otp,neeraj9/otp,jinshana/otp,aboroska/otp,falkevik/otp,stolen/otp,palas/otp,Teino1978-Corp/otp,Teino1978-Corp/otp,jamesruan/otp,emile/otp,isvilen/otp,lrascao/otp,marquisthunder/otp,cnbin/otp,sdebnath/otp,aboroska/otp,GinjaNinja32/otp,release-project/otp,ferd/otp,RJ/otp,dumbbell/otp,massemanet/otp,gjaldon/otp,vic/otp,theom/otp,vladdu/otp,entropiae/otp,lightcyphers/otp,g-andrade/otp,lucafavatella/otp,lhslll/otp,paulcager/otp,entropiae/otp,legoscia/otp,c-rack/otp,erlang/otp,jemsbhai/otp,ferd/otp,lucafavatella/otp,gjaldon/otp,emile/otp,jj1bdx/otp,RaimoNiskanen/otp,theom/otp,yangchengjian/otp,beni55/otp,jj1bdx/otp,bjorng/otp,saleyn/otp,haguenau/otp,GinjaNinja32/otp,RaimoNiskanen/otp,mikpe/otp,ahmedshafeeq/otp,g-andrade/otp,VincentHHL/otp,RGafiyatullin/otp,jamesruan/otp,NOMORECOFFEE/otp,GinjaNinja32/otp,bjorng/otp,release-project/otp,mikpe/otp,gjaldon/otp,derek121/otp,johanclaesson/otp,massemanet/otp,bugs-erlang-org/otp,c-rack/otp,emile/otp,jj1bdx/otp,vladdu/otp,mikpe/otp,RaimoNiskanen/otp,erlang/otp,mujiatong/otp,lantti/otp,RGafiyatullin/otp,dgud/otp,platinumthinker/otp,emacsmirror/erlang,hairyhum/otp,mujiatong/otp,stolen/otp,schlagert/otp,emacsmirror/erlang,g-andrade/otp,basho/otp,awetzel/otp,erlang/otp,bugs-erlang-org/otp,kvakvs/otp,uabboli/otp,RichMorin/otp,krishnakumar4a4/otp,mikpe/otp,lrascao/otp,lhslll/otp,enikki/otp,falkevik/otp,psyeugenic/otp,sammoth-wazoku/otp,lhslll/otp,ader1990/otp,bsmr-erlang/otp,dumbbell/otp,massemanet/otp,release-project/otp,electricimp/otp,matwey/otp,lianghaivv/otp,derek121/otp,legoscia/otp,electricimp/otp,sitexa/otp,haguenau/otp,klarna/otp,vladdu/otp,lantti/otp,mikpe/otp,hairyhum/otp,lrascao/otp,paulcager/otp,palas/otp,bjorng/otp,tuncer/otp,VincentHHL/otp,release-project/otp,electricimp/otp,msantos/otp,lianghaivv/otp,isvilen/otp,benoitc/otp-1,getong/otp,release-project/otp,potatosalad/otp,RoadRunnr/otp,g-andrade/otp,electricimp/otp,dgud/otp,riverrun/otp,massemanet/otp,isvilen/otp,entropiae/otp,vinoski/otp,hairyhum/otp,rlipscombe/otp,cobusc/otp,weisslj/otp,lucafavatella/otp,paulcager/otp,beni55/otp,aboroska/otp,bjorng/otp,getong/otp,lrascao/otp,paulcager/otp,derek121/otp,cobusc/otp,jemsbhai/otp,cnbin/otp,benoitc/otp-1,palas/otp,benoitc/otp-1,g-andrade/otp,awetzel/otp,dumbbell/otp,lightcyphers/otp,RoadRunnr/otp,psyeugenic/otp,vinoski/otp,jinshana/otp,g-andrade/otp,c-rack/otp,krishnakumar4a4/otp,sdebnath/otp,Teino1978-Corp/erlang-otp,sitexa/otp,johanclaesson/otp,rlipscombe/otp,krishnakumar4a4/otp,jamesruan/otp,johanclaesson/otp,enikki/otp,psyeugenic/otp,tuncer/otp,riverrun/otp,sitexa/otp,basho/otp,c-rack/otp,saleyn/otp,goertzenator/otp,sammoth-wazoku/otp,sdebnath/otp,benoitc/otp-1,RJ/otp,isvilen/otp,bugs-erlang-org/otp,fenollp/otp,g-andrade/otp,vinoski/otp,GinjaNinja32/otp,lucafavatella/otp,paladim/otp,ahmedshafeeq/otp,awetzel/otp,Teino1978-Corp/otp,NOMORECOFFEE/otp,uabboli/otp,jj1bdx/otp,vladdu/otp,vinoski/otp,neeraj9/otp,uabboli/otp,gjaldon/otp,NOMORECOFFEE/otp,VincentHHL/otp,sdebnath/otp,aboroska/otp,jemsbhai/otp,haguenau/otp,jamesruan/otp,mujiatong/otp,electricimp/otp,msantos/otp,ader1990/otp,riverrun/otp,neeraj9/otp,RJ/otp,kvakvs/otp,bernardd/otp,emacsmirror/erlang,goertzenator/otp,VincentHHL/otp,enikki/otp,mikpe/otp,lianghaivv/otp,rlipscombe/otp,lianghaivv/otp,lantti/otp,rlipscombe/otp,uabboli/otp,ahmedshafeeq/otp,RJ/otp,sammoth-wazoku/otp,theom/otp,krishnakumar4a4/otp,enikki/otp,kvakvs/otp,RichMorin/otp,platinumthinker/otp,palas/otp,potatosalad/otp,psyeugenic/otp,lrascao/otp,legoscia/otp,schlagert/otp,vladdu/otp,mujiatong/otp,NOMORECOFFEE/otp,isvilen/otp,neeraj9/otp,neeraj9/otp,cnbin/otp,falkevik/otp,RoadRunnr/otp,theom/otp,gjaldon/otp,schlagert/otp,awetzel/otp,bugs-erlang-org/otp,aboroska/otp,bugs-erlang-org/otp,aboroska/otp,klarna/otp,haguenau/otp,kvakvs/otp,psyeugenic/otp,getong/otp,haguenau/otp,rlipscombe/otp,yangchengjian/otp,bugs-erlang-org/otp,basho/otp,emile/otp,legoscia/otp,falkevik/otp,lemenkov/otp,vladdu/otp,cnbin/otp,erlang/otp,uabboli/otp,vic/otp,bernardd/otp,RaimoNiskanen/otp,isvilen/otp,paulcager/otp,gjaldon/otp,dumbbell/otp,RJ/otp,c-rack/otp,entropiae/otp,sammoth-wazoku/otp,msantos/otp,jemsbhai/otp,uabboli/otp,yangchengjian/otp,saleyn/otp,vinoski/otp,rlipscombe/otp,paladim/otp,fenollp/otp,lucafavatella/otp,johanclaesson/otp,cobusc/otp,weisslj/otp,marquisthunder/otp,emacsmirror/erlang,lucafavatella/otp,electricimp/otp,johanclaesson/otp,falkevik/otp,Teino1978-Corp/erlang-otp,GinjaNinja32/otp,bugs-erlang-org/otp,johanclaesson/otp,RoadRunnr/otp,stolen/otp,getong/otp,schlagert/otp,RoadRunnr/otp,electricimp/otp,ader1990/otp,emile/otp,benoitc/otp-1,emacsmirror/erlang,goertzenator/otp,matwey/otp,saleyn/otp,matwey/otp,paulcager/otp,platinumthinker/otp,isvilen/otp,lightcyphers/otp,RichMorin/otp,lightcyphers/otp,massemanet/otp,falkevik/otp,vinoski/otp,ahmedshafeeq/otp,kvakvs/otp,vinoski/otp,NOMORECOFFEE/otp,VincentHHL/otp,RJ/otp,uabboli/otp,getong/otp,sitexa/otp,cnbin/otp,lianghaivv/otp,weisslj/otp,dgud/otp,mujiatong/otp,cnbin/otp,mikpe/otp,paladim/otp,platinumthinker/otp,getong/otp,ferd/otp,weisslj/otp,tuncer/otp,vinoski/otp,potatosalad/otp,bjorng/otp,ahmedshafeeq/otp,RGafiyatullin/otp,massemanet/otp,lrascao/otp,lhslll/otp,RaimoNiskanen/otp,jemsbhai/otp,yangchengjian/otp,RJ/otp,lianghaivv/otp,vladdu/otp,erlang/otp,aboroska/otp,sammoth-wazoku/otp,hairyhum/otp,entropiae/otp,derek121/otp,Teino1978-Corp/otp,tuncer/otp,RaimoNiskanen/otp,bsmr-erlang/otp,ader1990/otp,dgud/otp,awetzel/otp,bernardd/otp,Teino1978-Corp/otp,lemenkov/otp,getong/otp,falkevik/otp,derek121/otp,RaimoNiskanen/otp,c-rack/otp,jinshana/otp,mikpe/otp,VincentHHL/otp,platinumthinker/otp,falkevik/otp,dgud/otp,Teino1978-Corp/erlang-otp,benoitc/otp-1,goertzenator/otp,msantos/otp,basho/otp,erlang/otp,palas/otp,falkevik/otp,stolen/otp,Teino1978-Corp/otp,jamesruan/otp,saleyn/otp,ahmedshafeeq/otp,RGafiyatullin/otp,jj1bdx/otp,legoscia/otp,dumbbell/otp,erlang/otp,tuncer/otp,Teino1978-Corp/erlang-otp,dgud/otp,RoadRunnr/otp,RGafiyatullin/otp,riverrun/otp,tuncer/otp,bernardd/otp,tuncer/otp,marquisthunder/otp,lhslll/otp,Teino1978-Corp/erlang-otp,marquisthunder/otp,ferd/otp,marquisthunder/otp,bernardd/otp,goertzenator/otp,jemsbhai/otp,bsmr-erlang/otp,tuncer/otp,theom/otp,haguenau/otp,cobusc/otp,jj1bdx/otp,fenollp/otp,emile/otp,gjaldon/otp,ferd/otp,RoadRunnr/otp,lhslll/otp,platinumthinker/otp,palas/otp,psyeugenic/otp,potatosalad/otp,vic/otp,basho/otp,emacsmirror/erlang,aboroska/otp,benoitc/otp-1,psyeugenic/otp,dumbbell/otp,jinshana/otp,lantti/otp,cobusc/otp,riverrun/otp,saleyn/otp,kvakvs/otp,paulcager/otp,sitexa/otp,rlipscombe/otp,vic/otp,jamesruan/otp,cnbin/otp,legoscia/otp,jj1bdx/otp,mikpe/otp,erlang/otp,bjorng/otp,goertzenator/otp,cobusc/otp,RichMorin/otp,derek121/otp,marquisthunder/otp,ahmedshafeeq/otp,RoadRunnr/otp,krishnakumar4a4/otp,bsmr-erlang/otp,lemenkov/otp,lemenkov/otp,paladim/otp,lianghaivv/otp,bjorng/otp,getong/otp,matwey/otp,krishnakumar4a4/otp,enikki/otp,johanclaesson/otp,awetzel/otp,aboroska/otp,ferd/otp,sammoth-wazoku/otp,msantos/otp,sitexa/otp,rlipscombe/otp,derek121/otp,vinoski/otp,stolen/otp,RoadRunnr/otp,sitexa/otp,yangchengjian/otp,massemanet/otp,sdebnath/otp,theom/otp,paladim/otp,getong/otp,hairyhum/otp,jinshana/otp,lucafavatella/otp,marquisthunder/otp,dumbbell/otp,fenollp/otp,schlagert/otp,lightcyphers/otp,emacsmirror/erlang,enikki/otp,lemenkov/otp,palas/otp,matwey/otp,haguenau/otp,fenollp/otp,RichMorin/otp,mujiatong/otp,Teino1978-Corp/erlang-otp,potatosalad/otp,palas/otp,RJ/otp,bugs-erlang-org/otp,kvakvs/otp,potatosalad/otp,krishnakumar4a4/otp,basho/otp,uabboli/otp,beni55/otp,paladim/otp,bsmr-erlang/otp,entropiae/otp,lucafavatella/otp,lantti/otp,psyeugenic/otp,schlagert/otp,klarna/otp,lhslll/otp,bsmr-erlang/otp,jj1bdx/otp,getong/otp,awetzel/otp,electricimp/otp,vic/otp,lantti/otp,klarna/otp,jemsbhai/otp,enikki/otp,GinjaNinja32/otp,bsmr-erlang/otp,basho/otp,isvilen/otp,weisslj/otp,emile/otp,RichMorin/otp,ferd/otp,g-andrade/otp,rlipscombe/otp,VincentHHL/otp,rlipscombe/otp,riverrun/otp,electricimp/otp,neeraj9/otp,lrascao/otp,lantti/otp,goertzenator/otp,bernardd/otp,hairyhum/otp,release-project/otp,jemsbhai/otp,cobusc/otp,VincentHHL/otp,matwey/otp,sdebnath/otp,schlagert/otp,ferd/otp,derek121/otp,ader1990/otp,legoscia/otp,vic/otp,riverrun/otp,weisslj/otp,lemenkov/otp,fenollp/otp,RichMorin/otp,saleyn/otp,dgud/otp,massemanet/otp,goertzenator/otp,c-rack/otp,klarna/otp,sitexa/otp,RaimoNiskanen/otp,klarna/otp,jinshana/otp,Teino1978-Corp/erlang-otp,haguenau/otp,lemenkov/otp,mujiatong/otp,release-project/otp,emile/otp,schlagert/otp,potatosalad/otp,beni55/otp,emacsmirror/erlang,sammoth-wazoku/otp,bernardd/otp,marquisthunder/otp,paladim/otp,mikpe/otp,basho/otp,Teino1978-Corp/erlang-otp,theom/otp,mujiatong/otp,beni55/otp,emacsmirror/erlang,stolen/otp,neeraj9/otp,bjorng/otp,yangchengjian/otp,c-rack/otp,lemenkov/otp,theom/otp,cobusc/otp,klarna/otp,awetzel/otp,benoitc/otp-1,dgud/otp,dumbbell/otp,saleyn/otp,jj1bdx/otp,sdebnath/otp,matwey/otp,johanclaesson/otp,beni55/otp,RGafiyatullin/otp,bsmr-erlang/otp,NOMORECOFFEE/otp,lrascao/otp,yangchengjian/otp,release-project/otp,ader1990/otp,potatosalad/otp,beni55/otp,lightcyphers/otp,jj1bdx/otp,lianghaivv/otp,erlang/otp,entropiae/otp,enikki/otp,msantos/otp,platinumthinker/otp,vinoski/otp,GinjaNinja32/otp,emacsmirror/erlang,platinumthinker/otp,saleyn/otp,paladim/otp,goertzenator/otp,hairyhum/otp,msantos/otp,bernardd/otp,Teino1978-Corp/otp,fenollp/otp,isvilen/otp,RGafiyatullin/otp,jinshana/otp,sdebnath/otp,fenollp/otp,vladdu/otp,potatosalad/otp,neeraj9/otp,dgud/otp,Teino1978-Corp/otp,stolen/otp,ahmedshafeeq/otp,dumbbell/otp,vic/otp,potatosalad/otp,stolen/otp,RaimoNiskanen/otp,lightcyphers/otp,isvilen/otp,vladdu/otp,lhslll/otp,lrascao/otp,RichMorin/otp,NOMORECOFFEE/otp,erlang/otp,g-andrade/otp