rustig
rustig copied to clipboard
[Security] Bump smallvec from 0.4.4 to 0.4.5
Bumps smallvec from 0.4.4 to 0.4.5. This update includes security fixes.
Vulnerabilities fixed
Sourced from The RustSec Advisory Database.
Possible double free during unwinding in SmallVec::insert_many If an iterator passed to
SmallVec::insert_manypanicked inIterator::next, destructors were run during unwinding while the vector was in an inconsistent state, possibly causing a double free (a destructor running on two copies of the same value).This is fixed in smallvec 0.6.3 by ensuring that the vector's length is not updated to include moved items until they have been removed from their original positions. Items may now be leaked if
... (truncated)Iterator::nextpanics, but they will not be dropped more than once.Patched versions: >= 0.6.3; ^0.3.4; ^0.4.5; ^0.5.1 Unaffected versions: < 0.3.2
Release notes
Sourced from smallvec's releases.
v0.4.5
- Fix possible double-free on panic in
insert_many(#96).
Commits
f9f92a4Make insert_many panic-safe- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking Bump now in your Dependabot dashboard.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot mergewill merge this PR after your CI passes on it@dependabot ignore this [patch|minor|major] versionwill close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.