gnzlbg / cargo-asm

cargo subcommand showing the assembly or llvm-ir generated for Rust code
https://github.com/gnzlbg/cargo-asm
Other
1.19k stars 37 forks source link

[Security] Bump smallvec from 0.6.1 to 0.6.4 #39

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps smallvec from 0.6.1 to 0.6.4. This update includes security fixes.

Vulnerabilities fixed *Sourced from [The RustSec Advisory Database](https://github.com/RustSec/advisory-db/blob/master/crates/smallvec/RUSTSEC-2018-0003.toml).* > **Possible double free during unwinding in SmallVec::insert_many** > If an iterator passed to `SmallVec::insert_many` panicked in `Iterator::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 `Iterator::next` panics, but > they will not be dropped more than once. > > Thank you to [**Vurich**](https://github.com/Vurich) for reporting this bug. > > Patched versions: >= 0.6.3; ^0.3.4; ^0.4.5; ^0.5.1 > Unaffected versions: < 0.3.2 *Sourced from [The RustSec Advisory Database](https://github.com/RustSec/advisory-db/blob/master/crates/smallvec/RUSTSEC-0000-0000.toml).* > **Possible double free during unwinding in SmallVec::insert_many** > If an iterator passed to `SmallVec::insert_many` panicked in `Iterator::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 `Iterator::next` panics, but > they will not be dropped more than once. > > Thank you to [**Vurich**](https://github.com/Vurich) for reporting this bug. > > Patched versions: >= 0.6.3 > Unaffected versions: < 0.3.2
Release notes *Sourced from [smallvec's releases](https://github.com/servo/rust-smallvec/releases).* > ## v0.6.4 > * Extend the `smallvec!` macro to work with non-`Copy` items ([#107](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/107)) > * Improve the `Debug` formatting implementation ([#109](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/109)) > > ## v0.6.3 > * Fix possible double-free in `insert_many` when passed an iterator that panics in `next` ([#103](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/103)) > * Add a new `union` feature (disabled by default) that reduces the size of the SmallVec struct ([#94](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/94)) > * Improve performance of `extend` and `from_elem` ([#93](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/93)) > * Improve performance of `drop` ([#100](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/100)) > * Update to build without `std` feature on current Rust nightly ([#104](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/104)) > * Additional benchmarks ([#95](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/95), [#97](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/97)) > * Update dev-dependency on `bincode` ([#102](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/102)) > > ## v0.6.2 > * Relicense as MIT/Apache-2.0
Commits - [`62c525a`](https://github.com/servo/rust-smallvec/commit/62c525a016ee9774d4b6022cf3861ddb923c03c0) Auto merge of [#110](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/110) - mbrubeck:bump, r=Manishearth - [`857e974`](https://github.com/servo/rust-smallvec/commit/857e974004b6f151697fc3182110a39d2993c5d0) Version 0.6.4 - [`54d565f`](https://github.com/servo/rust-smallvec/commit/54d565fc15d8cbc966a6c10cdd08b972441c8228) Auto merge of [#109](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/109) - thelearnerofcode:master, r=mbrubeck - [`7cd1aec`](https://github.com/servo/rust-smallvec/commit/7cd1aec9e7be8bf8dd5d6a90d294b75c3ad2a1f1) Improved debug implementation. - [`a56ed6e`](https://github.com/servo/rust-smallvec/commit/a56ed6e26121b8046bb592c720baa73b348ca9ed) Auto merge of [#107](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/107) - RReverser:macro-non-copy, r=mbrubeck - [`fb32eb2`](https://github.com/servo/rust-smallvec/commit/fb32eb2ac2b94ca855e1a307dbbd1371ea2441b3) Allow smallvec! with non-Copy items - [`fcb1b7e`](https://github.com/servo/rust-smallvec/commit/fcb1b7e99a2a98d928983af78a494ef566cbde8b) Auto merge of [#105](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/105) - mbrubeck:bump, r=jdm - [`6fee1b0`](https://github.com/servo/rust-smallvec/commit/6fee1b05b90c959ed4edbd5f86c336e645f6898a) Version 0.6.3 - [`8fd2b9b`](https://github.com/servo/rust-smallvec/commit/8fd2b9b2413967509715539783e97f6d8c531efc) Auto merge of [#103](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/103) - mbrubeck:panic, r=jdm - [`5a8ab46`](https://github.com/servo/rust-smallvec/commit/5a8ab468640b41b9643bd3adc43ae64d42096eb9) Auto merge of [#104](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/104) - mbrubeck:alloc, r=jdm - Additional commits viewable in [compare view](https://github.com/servo/rust-smallvec/compare/v0.6.1...v0.6.4)


Dependabot compatibility score

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 rebase` will rebase this PR - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will 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 dependency` will 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 labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will 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](https://app.dependabot.com): - 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.
dependabot-preview[bot] commented 6 years ago

Looks like smallvec is up-to-date now, so this is no longer needed.