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
Regression: Access violation accessing destroyed locale object during atexit #18160
Labels
Comments
matbech
added a commit
to matbech/openssl
that referenced
this issue
Apr 23, 2022
…p_int depend on casecmp. Fixes openssl#18160
matbech
added a commit
to matbech/openssl
that referenced
this issue
Apr 23, 2022
…t depend on casecmp. Fixes openssl#18160
beldmit
added
triaged: bug
The issue/pr is/fixes a bug
branch: master
Merge to master branch
and removed
issue: bug report
The issue was opened to report a bug
labels
Apr 23, 2022
Is it relevant for master only or also for 3.0? |
I wonder why it is not caught by our tests |
As it was a bug in all 3.0 series, #18103 contains basically same changes to 3.0 branch. |
Yes, it's a master only fault, in 3.0 it is already the last call in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
During the OPENSSL_cleanup, OPENSSL_strcasecmp passes the destroyed locale object to _stricmp_l.
Access violation:
Cause
void ossl_deinit_casecmp() {
freelocale(loc);
}
is called before evp_cleanup_int.
Solution
Move ossl_deinit_casecmp to the end of OPENSSL_cleanup.
Regression introduced in:
fba140c
4b2bd27
The text was updated successfully, but these errors were encountered: