JDK-7091417 : recvfrom's 6th input should be of type socklen_t
Type:Bug
Component:hotspot
Sub-Component:runtime
Affected Version:7u2
Priority:P3
Status:Closed
Resolution:Fixed
OS:solaris_11
CPU:generic
Submitted:2011-09-16
Updated:2012-03-29
Resolved:2012-03-29
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
EVALUATION
The attached suggested fix doesn't cover enough ground. In addition to recvfrom
and sendto, the interfaces to recv, send, connect, accept, getsockname, getsockopt,
and setsockopt should also be fixed to use either socklen_t*, socklen_t or size_t.
This is also a correctness issue, as on some systems socklen_t isn't the same
width as int.