smallvec
'Small vector' optimization for Rust: store up to a small number of items on the stack
Activity
- Latest release
- 5d ago
- Total releases
- 86
- Cadence
- ~29 days
- Last 12 months
- 11
Reach
- Downloads
- 1312.7M
- Stars
- 1.8k
Details
- License
- MIT OR Apache-2.0
- First release
- Apr 06, 2015
| Version | Released | |
|---|---|---|
1.16.4
patch
| ||
2.0.0-beta.3
pre
|
2.0.0-beta.3
pre
Dependencies (14)
+ 6 more
Changelog
Compare changes
|
|
1.16.3
patch
| ||
2.0.0-beta.2
pre
|
2.0.0-beta.2
pre
Dependencies (12)
+ 4 more
Changelog
Compare changes
|
|
1.16.2
patch
| ||
2.0.0-beta.1
pre
|
2.0.0-beta.1
pre
Dependencies (11)
+ 3 more
Changelog
Compare changes
|
|
1.16.1
patch
| ||
2.0.0-alpha.13
pre
|
2.0.0-alpha.13
pre
Dependencies (10)
+ 2 more
Changelog
Compare changes
|
|
1.16.0
minor
| ||
1.15.2
unknown
|
1.15.2
unknown
Dependencies (8)
Changelog
Compare changes
|
|
2.0.0-alpha.12
unknown
| ||
1.15.1
unknown
|
1.15.1
unknown
Dependencies (8)
Changelog
Compare changes
|
|
1.15.0
unknown
|
1.15.0
unknown
Dependencies (8)
Changelog
Compare changes
|
|
2.0.0-alpha.11
unknown
| ||
1.14.0
unknown
| ||
2.0.0-alpha.10
unknown
| ||
2.0.0-alpha.9
unknown
| ||
2.0.0-alpha.8
unknown
| ||
2.0.0-alpha.7
unknown
| ||
2.0.0-alpha.6
unknown
| ||
2.0.0-alpha.5
unknown
| ||
1.13.2
unknown
| ||
2.0.0-alpha.4
unknown
| ||
2.0.0-alpha.3
unknown
| ||
1.13.1
unknown
| ||
1.13.0
unknown
yanked
| ||
2.0.0-alpha.2
unknown
| ||
1.12.0
unknown
| ||
1.11.2
unknown
| ||
2.0.0-alpha.1
unknown
| ||
1.11.1
unknown
| ||
1.11.0
unknown
| ||
1.10.0
unknown
| ||
1.9.0
unknown
| ||
1.8.1
unknown
| ||
1.8.0
unknown
| ||
1.7.0
unknown
| ||
1.6.1
unknown
| ||
0.6.14
unknown
| ||
1.6.0
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.5.1
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.5.0
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.4.2
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.4.1
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.4.0
unknown
yanked
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.3.0
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.2.0
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.1.0
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
0.6.13
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev | ||
1.0.0
unknown
1 CVE
CVE-2021-25900
GHSA-43w2-9j62-hq99
RUSTSEC-2021-0003
May 24, 2022
Buffer overflow in SmallVec::insert_many
9.8
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
High
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. Fixed in
0.6.14
1.6.1
References
Updated Nov 08, 2023 · Source: OSV.dev |