United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6932403 SSLSocketImpl state issue
JDK-6932403 : SSLSocketImpl state issue

Details
Type:
Bug
Submit Date:
2010-03-05
Status:
Closed
Updated Date:
2012-08-15
Project Name:
JDK
Resolved Date:
2011-06-22
Component:
security-libs
OS:
generic
Sub-Component:
javax.net.ssl
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:
Relates:

Sub Tasks

Description
The SSLSocketImpl.fatal set the connection state to CS_ERROR, which may have been cs_SENT_CLOSE already, the improper state change may cause improper multiple thread behaviors. See comments for the detailed issue.

                                    

Comments
SUGGESTED FIX

check the state before set it to cs_ERROR in SSLSocketImpl.fatal().
                                     
2010-03-05
EVALUATION

forward port of jdk6 fix
                                     
2011-04-20



Hardware and Software, Engineered to Work Together