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

Do not call C_Finalize if not initialized #208

Open
Geobert opened this issue Apr 9, 2024 · 0 comments
Open

Do not call C_Finalize if not initialized #208

Geobert opened this issue Apr 9, 2024 · 0 comments

Comments

@Geobert
Copy link

Geobert commented Apr 9, 2024

Hi,

I’m in a mixed env with Rust code used in a C++ program. C++ side initialize the pkcs11 lib so Rust side can’t.
If Rust side calls C_Finalize, I get a random crash, which, I think, is because of a double free?

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