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]
*
Hi,
gnu_java_nio_VMChannel.c::getpeername() the memcpy operation in the IPv6
case is missing an offset when copying the port value in. This patch
fixes that.
ChangeLog:
2006-11-09 Robert Schuster [EMAIL PROTECTED]
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
(getpeername):
Oh and here is the patch.
cya
Robert
Robert Schuster schrieb:
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).
3 matches
Mail list logo