Update Rust crate smallvec to v1.6.1 [SECURITY] #26
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.0.0->1.6.1GitHub Vulnerability Alerts
CVE-2021-25900
A bug in the SmallVec::insert_many method caused it to allocate a buffer that was smaller than needed. It then wrote past the end of the buffer, causing a buffer overflow and memory corruption on the heap. This bug was only triggered if the iterator passed to insert_many yielded more items than the lower bound returned from its size_hint method.
The flaw was corrected in smallvec 0.6.14 and 1.6.1, by ensuring that additional space is always reserved for each item inserted. The fix also simplified the implementation of insert_many to use less unsafe code, so it is easier to verify its correctness.
Release Notes
servo/rust-smallvec (smallvec)
v1.6.1Compare Source
insert_many(#252, #254).v1.6.0Compare Source
"union"feature is now compatible with stable Rust 1.49 (#248, #247).v1.5.1Compare Source
push(#241).v1.5.0Compare Source
appendmethod (#237).v1.4.2Compare Source
insert_manyno longer leaks elements if the provided iterator panics (#213).const_genericsandspecializationfeatures are updated to work with the most recent nightly Rust toolchain (#232).v1.4.1Compare Source
v1.4.0Compare Source
try_reserve,try_reserve_exact, andtry_growmethods (#214).v1.3.0Compare Source
const_genericsfeature (#204).slice.to_smallvec()convenience method (#203).v1.2.0Compare Source
IntoIternow implementsDebug(#196).smallvec!macro is now easier to use inno_stdcontexts where thevec!macro isn't automatically imported (#198).v1.1.0Compare Source
SmallVec::into_boxed_slice(#190).IntoIter::as_sliceandas_mut_slice(#182).IntoIternow implementsClone(#192).Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.