Closed kornelski closed 1 month ago
There's no guarantee that CFDataGetBytePtr will return a non-NULL pointer, and therefore creating a slice from it can be Undefined Behavior in Rust.
CFDataGetBytePtr
https://github.com/kornelski/rust-security-framework/issues/206
There's no guarantee that
CFDataGetBytePtr
will return a non-NULL pointer, and therefore creating a slice from it can be Undefined Behavior in Rust.https://github.com/kornelski/rust-security-framework/issues/206