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
Hi there, due to public new function available for type, there is an potential segmentation fault chance without any unsafe involved.
fn main() {
let a = pkcs11::types::CK_ATTRIBUTE::new(123);
a.get_bool(); // get_bool can also be replaced with any member functions contains dereference operation without check pointer is null
}
cargo run
Segmentation fault
The text was updated successfully, but these errors were encountered:
Hi there, due to public new function available for type, there is an potential segmentation fault chance without any unsafe involved.
The text was updated successfully, but these errors were encountered: