RFR: JDK-8046901 - Check jdk/src/solaris/native/sun/nio for Parfait flagged uninitialized memory

Mark Sheppard mark.sheppard at oracle.com
Wed Feb 18 15:45:13 UTC 2015


Hi Alan,
    that's correct it's not an issue (false positive) as port is an out 
parameter, but the
prescription was to initialize any flagged variables.

regards
Mark

On 18/02/2015 15:37, Alan Bateman wrote:
> On 18/02/2015 15:30, Mark Sheppard wrote:
>> Hi
>>    please oblige and review the following changes
>> http://cr.openjdk.java.net/~msheppar/8046901/webrev/
>>
>> which address the parfait issues in
>> https://bugs.openjdk.java.net/browse/JDK-8046901
>>
>> pertaining to uninitialized memory in
>> src/java.base/unix/native/libnio/ch/DatagramChannelImpl.c
>> src/java.base/unix/native/libnio/ch/ServerSocketChannelImpl.c
>> src/jdk.sctp/unix/native/libsctp/SctpNet.c
> Is there really a bug here? NET_SockaddrToInetAddress is called with 
> &port which sets the port.
>
> -Alan.



More information about the net-dev mailing list