Skip to content

Conversation

kornelski
Copy link
Contributor

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.

kornelski/rust-security-framework#206

kornelski added a commit to kornelski/rust-security-framework that referenced this pull request Jul 14, 2024
@jdm jdm added this pull request to the merge queue Jul 14, 2024
Merged via the queue into servo:main with commit 3570256 Jul 14, 2024
@kornelski kornelski deleted the null-slice branch July 14, 2024 17:59
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

Successfully merging this pull request may close these issues.

3 participants