Details
-
Enhancement
-
Resolution: Fixed
-
P5
-
7
-
b32
-
x86
-
linux
-
Not verified
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018893 | 7u45 | Shi Zhang | P5 | Closed | Fixed | b01 |
JDK-2227888 | 7u40 | Sean Coffey | P4 | Closed | Fixed | b03 |
Description
FULL PRODUCT VERSION :
ADDITIONAL OS VERSION INFORMATION :
AIX HY-AIX64 1 7 000562E4D700
A DESCRIPTION OF THE PROBLEM :
In src/solaris/native/sun/nio/ch/DatagramDispatcher.c,
Java_sun_nio_ch_DatagramDispatcher_readv0 will invoke recvmsg(int socket, const struct msghdr *message, int flags) system call and Java_sun_nio_ch_DatagramDispatcher_writev0 will invoke sendmsg(int socket, const struct msghdr *message, int flags) system call. The msghdr structure differs from Solaris and other platform and it can be initialized on all platforms with setting 0 in this structure.
REPRODUCIBILITY :
This bug can be reproduced always.
ADDITIONAL OS VERSION INFORMATION :
AIX HY-AIX64 1 7 000562E4D700
A DESCRIPTION OF THE PROBLEM :
In src/solaris/native/sun/nio/ch/DatagramDispatcher.c,
Java_sun_nio_ch_DatagramDispatcher_readv0 will invoke recvmsg(int socket, const struct msghdr *message, int flags) system call and Java_sun_nio_ch_DatagramDispatcher_writev0 will invoke sendmsg(int socket, const struct msghdr *message, int flags) system call. The msghdr structure differs from Solaris and other platform and it can be initialized on all platforms with setting 0 in this structure.
REPRODUCIBILITY :
This bug can be reproduced always.
Attachments
Issue Links
- backported by
-
JDK-2227888 (dc) DatagramDispatcher.c should memset msghdr to make it portable to other platforms
-
- Closed
-
-
JDK-8018893 (dc) DatagramDispatcher.c should memset msghdr to make it portable to other platforms
-
- Closed
-