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
unsafe precondition(s) violated: slice::from_raw_parts requires the pointer to be aligned and non-null, and the total size of the slice not to exceed isize::MAX
This can easily be reproduced if the existing generic_roundtrip test is modified to use an empty password string.
This bug doesn't exist on macOS, because the macOS-specific implementation doesn't retrieve data using this function.
The text was updated successfully, but these errors were encountered:
brotskydotcom
changed the title
security_framework::passwords::get_password_and_release crashes on empty password
iOS only: security_framework::passwords::get_password_and_release crashes on empty password
Jul 14, 2024
On Rust 1.79.0, line 163 in passwords.rs
crashes if
val
is empty, with the message:This can easily be reproduced if the existing
generic_roundtrip
test is modified to use an empty password string.This bug doesn't exist on macOS, because the macOS-specific implementation doesn't retrieve data using this function.
The text was updated successfully, but these errors were encountered: