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

setSessionIdContext cause probably a memory leak #79

Open
backdead opened this issue Apr 26, 2020 · 0 comments
Open

setSessionIdContext cause probably a memory leak #79

backdead opened this issue Apr 26, 2020 · 0 comments

Comments

@backdead
Copy link

Line 270 in OpenSSLContextSPI.java cause a memory leak problem.
"serverSessionContext.setSessionIdContext("test".getBytes(StandardCharsets.US_ASCII));"
Reason:
in the jni interface, it create a pointer, "sidCtx", points to the id context of created session, which is not free in freeSSLContext.

can we just remove this line?

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

No branches or pull requests

1 participant