Hi, the memcpy operation in gnu_java_nio_VMChannel.c::getsockname() for the IPv6 case was copying the port value into the same space as the IPv6 address. I fixed this by adding an offset (like its done in the IPv4 case).
ChangeLog:
2006-11-09 Robert Schuster <[EMAIL PROTECTED]>
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
(getsockname): Added 16 byte offset to memcpy operation.
cya
Robert
signature.asc
Description: OpenPGP digital signature
