KernelFreeze / Litecraft

Open source, clean room implementation of Minecraft Client
MIT License
138 stars 6 forks source link

[Security] Bump smallvec from 0.6.2 to 0.6.3 #8

Closed dependabot-preview[bot] closed 6 years ago

dependabot-preview[bot] commented 6 years ago

Bumps smallvec from 0.6.2 to 0.6.3. 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. > > ... (truncated) > > 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. > > ... (truncated) > > 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.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))
Commits - [`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 - [`a18a427`](https://github.com/servo/rust-smallvec/commit/a18a427c5308f21e268950e1c07040df90cf5f05) Update to build in no_std mode on latest Rust nightly - [`1f40252`](https://github.com/servo/rust-smallvec/commit/1f4025218c4321ea42ad01d80dd6110def2d86d9) Make from_elem panic-safe - [`26b2490`](https://github.com/servo/rust-smallvec/commit/26b249075930b46cfafc70b1d18fd0cb35fd2314) Make insert_many panic-safe - [`bfdd7ee`](https://github.com/servo/rust-smallvec/commit/bfdd7eed5e1171585919e141ae0d74a6fd32bc51) Auto merge of [#102](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/102) - bcko:patch-1, r=mbrubeck - [`11e2927`](https://github.com/servo/rust-smallvec/commit/11e292739682c01cbc19cc7f58d4b961712c65a1) bincode="0.8" -> bincode="1.0.1" - [`d88b2d9`](https://github.com/servo/rust-smallvec/commit/d88b2d98e3c907d2c009b5e6e4a81fac72353796) Auto merge of [#100](https://github-redirect.dependabot.com/servo/rust-smallvec/issues/100) - mbrubeck:drop, r=SimonSapin - Additional commits viewable in [compare view](https://github.com/servo/rust-smallvec/compare/v0.6.2...v0.6.3)


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 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 reopen` will reopen this PR - `@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 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.