RFR: 8275640 (win) java.net.NetworkInterface issues with IPv6-only environments [v3]

Mark Sheppard msheppar at openjdk.java.net
Sat Jan 8 20:32:28 UTC 2022


On Sat, 8 Jan 2022 09:11:05 GMT, Daniel Jelinski <duke at openjdk.java.net> wrote:

>> Clean up of various issues related to error handling and memory management
>
> Daniel Jelinski has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Address problems reported by clang-tidy

src/java.base/windows/native/libnet/NetworkInterface_winXP.c line 282:

> 280:     }
> 281:     while (curr != NULL) {
> 282:         netaddr *netaddrP;

netaddr *netaddrP = NULL;  just in case enumAddresses_win_ipaddrtable does not update it for an error return

-------------

PR: https://git.openjdk.java.net/jdk/pull/6090


More information about the net-dev mailing list