You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
C_Finalize is called when then Pkcs11 instance is dropped. We could potentially add a new constructor which builds an instance that does not auto-finalize :)
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?The text was updated successfully, but these errors were encountered: