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

Don't extend from an empty slice. #207

Merged
merged 1 commit into from
Jul 14, 2024

Conversation

brotskydotcom
Copy link
Contributor

Fixes #206.

@kornelski
Copy link
Owner

This is not the correct fix. Slices with a NULL pointer trigger UB immediately when they are created, not when they are used.

@kornelski kornelski merged commit 32cac34 into kornelski:main Jul 14, 2024
6 checks passed
@kornelski
Copy link
Owner

Workaround for servo/core-foundation-rs#688

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.

iOS only: security_framework::passwords::get_password_and_release crashes on empty password
2 participants