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

Memory corruption fixed in smallvec 2.0.0-alpha-6 #1961

Open
gendx opened this issue May 15, 2024 · 1 comment
Open

Memory corruption fixed in smallvec 2.0.0-alpha-6 #1961

gendx opened this issue May 15, 2024 · 1 comment

Comments

@gendx
Copy link

gendx commented May 15, 2024

According to servo/rust-smallvec#353, there was a memory corruption in smallvec 2.0.0-alpha.5. I didn't check the range of affected versions, although that bug report mentions that:

Smallvec 1.x works fine.

I don't know what's the policy for vulnerabilities in pre-release versions, but given that smallvec is used a lot (and the 2.0.0-alpha.x branch already has 8 reverse dependencies according to https://lib.rs/crates/smallvec/rev), it may be worth recording that in the advisory database.

Perhaps using the version range >= 2.0.0 <= 2.0.0-alpha.5 to be conservative (I'm not sure how the tool works w.r.t. version suffixes)?

@Skgland
Copy link
Contributor

Skgland commented May 16, 2024

Isn't the >= 2.0.0 <= 2.0.0-alpha.5 range empty as 2.0.0-alpha.5 < 2.0.0?

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

2 participants