RFR(XS): 8202181: Correctly specify size of hostname buffer in Unix Inet*AddressImpl_getLocalHostName implementations
Chris Hegarty
chris.hegarty at oracle.com
Mon Apr 30 09:44:34 UTC 2018
On 30/04/18 09:00, Langer, Christoph wrote:
> ...
>>> Taking this input I have updated my webrev to round things up a little bit:
>> http://cr.openjdk.java.net/~clanger/webrevs/8202181.1/
Thank you Christophe, this latest version looks good.
I'll run some tests on it and report the results by tomorrow.
-Chris.
P.S. I do remember adding the unconditional null termination
to this code years ago, but I suspect that it's been touched
a few times since.
More information about the net-dev
mailing list