Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add openssl thread synchronization to fix crashes #283

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

shanchao95
Copy link
Contributor

Openssl 1.0.2 is not safely used in multi-thread application.
The change adds threadid and locking callback functions to provide
thread-safety when openssl 1.0.2 is used. It fixes issue 8373,
test crash in openjdk, jdk_net_0,
com/sun/net/httpserver/Test9a.java

Signed-off-by: Chao Shan chao.shan@ibm.com

@shanchao95
Copy link
Contributor Author

@keithc-ca code updated

@keithc-ca keithc-ca self-requested a review March 25, 2020 17:13
@keithc-ca keithc-ca self-assigned this Mar 25, 2020
@shanchao95 shanchao95 force-pushed the new_issue_8373 branch 2 times, most recently from ce8de7c to 475567d Compare March 26, 2020 18:06
@shanchao95
Copy link
Contributor Author

@keithc-ca Code updated

@shanchao95
Copy link
Contributor Author

@keithc-ca Code updated, I'll update jdk14 and next if jdk11 is ok.

@keithc-ca
Copy link
Member

Jenkins test sanity.openjdk aix,osx,win,xlinux jdk11

@keithc-ca
Copy link
Member

The xlinux failures appear to be eclipse-openj9/openj9#8899.

@keithc-ca
Copy link
Member

@shanchao95 A gentle reminder that this awaits similar updates to jdk14 and jdknext.

@keithc-ca
Copy link
Member

Jenkins test sanity.openjdk aix,osx,win,xlinux jdk11

Openssl 1.0.2 is not safely used in multi-thread application.
The change adds threadid and locking callback functions to provide
thread-safety when openssl 1.0.2 is used. It fixes issue 8373,
test crash in openjdk, jdk_net_0,
com/sun/net/httpserver/Test9a.java

Signed-off-by: Chao Shan <chao.shan@ibm.com>
@keithc-ca
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants