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

RUSTSEC-2021-0115: #[zeroize(drop)] doesn't implement Drop for enums #208

Open
github-actions bot opened this issue Oct 19, 2022 · 0 comments
Open

Comments

@github-actions
Copy link

#[zeroize(drop)] doesn't implement Drop for enums

Details
Package zeroize_derive
Version 0.7.0
URL iqlusioninc/crates#876
Date 2021-09-24
Patched versions >=1.1.1

Affected versions of this crate did not implement Drop when #[zeroize(drop)] was used on an enum.

This can result in memory not being zeroed out after dropping it, which is exactly what is intended when adding this attribute.

The flaw was corrected in version 1.2 and #[zeroize(drop)] on enums now properly implements Drop.

See advisory page for additional details.

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

No branches or pull requests

0 participants