Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On windows, don't make slices from empty passwords. #171

Merged
merged 4 commits into from
May 2, 2024

Conversation

brotskydotcom
Copy link
Collaborator

Apparently, if the password is empty, it may not be word-aligned. Starting with rust 178, this means you can't make a slice out of it.

This fixes #170.

Apparently, if the password is empty, it may not be word-aligned. Starting with rust 178, this means  you can't make a slice out of it.
This change catches a second case where we were doing this.

Fixes hwchen#170.
Apparently rust 1.78 has some new warnings.
Bug fixes for rust 1.78 and latest dependencies.
@brotskydotcom brotskydotcom merged commit dc256b1 into hwchen:master May 2, 2024
3 checks passed
@brotskydotcom brotskydotcom deleted the rust-178 branch May 2, 2024 18:43
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.

Rust 1.78 Error BIG PRECONDITION VIOLATION ERROR (too bad in rust to understand)
1 participant