RFR: 8187658: Bigger buffer for GetAdaptersAddresses
ivan.gerasimov at oracle.com
Tue Sep 19 17:50:08 UTC 2017
When retrieving information about network interfaces on Windows we make
up to 2 attempts to call GetAdaptersAddresses().
It was reported that in very rare cases it may not be sufficient, and
even the second attempt can fail with ERROR_BUFFER_OVERFLOW.
I suggest that we follow the recommendation given in MSDN : increase
the initial buffer size to 15K and do up to 3 attempts to call
Would you please help review the fix?
With kind regards,
More information about the net-dev