reorder
Activity
- Latest release
- 4y ago
- Total releases
- 10
- Cadence
- ~27 days
- Last 12 months
- 0
Details
- License
- MIT/Apache-2.0
- First release
- Dec 12, 2018
| Version | Released | |
|---|---|---|
2.1.3
unknown
|
2.1.3
unknown
|
|
2.1.2
unknown
|
2.1.2
unknown
|
|
2.0.1
unknown
|
2.0.1
unknown
|
|
2.0.0
unknown
|
2.0.0
unknown
|
|
1.2.0
unknown
|
1.2.0
unknown
Dependencies (1)
|
|
1.1.0
unknown
yanked
|
1.1.0
unknown
yanked
Dependencies (1)
|
|
1.0.3
unknown
yanked
1 CVE
CVE-2021-29941
GHSA-jpwg-6gf5-5vh9
CVE-2021-29942
GHSA-3h87-v52r-p9rg
RUSTSEC-2021-0050
Aug 25, 2021
Out of bounds write in reorder
7.3
/ 10
High
Network
Low
None
None
Unchanged
Low
Low
Low
swap_index takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len() method of the iterator. If the len() returned by the iterator is larger than the actual number of elements yielded, then swap_index creates a vector containing uninitialized members. If the len() returned by the iterator is smaller than the actual number of members yielded, then swap_index can write out of bounds past its allocated vector. As noted by the Rust documentation, len() and size_hint() are primarily meant for optimization and incorrect values from their implementations should not lead to memory safety violations. Fixed in
1.1.0
References Updated Nov 08, 2023 · Source: OSV.dev |
1.0.3
unknown
yanked
Dependencies (1)
|
|
1.0.2
unknown
yanked
1 CVE
CVE-2021-29941
GHSA-jpwg-6gf5-5vh9
CVE-2021-29942
GHSA-3h87-v52r-p9rg
RUSTSEC-2021-0050
Aug 25, 2021
Out of bounds write in reorder
7.3
/ 10
High
Network
Low
None
None
Unchanged
Low
Low
Low
swap_index takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len() method of the iterator. If the len() returned by the iterator is larger than the actual number of elements yielded, then swap_index creates a vector containing uninitialized members. If the len() returned by the iterator is smaller than the actual number of members yielded, then swap_index can write out of bounds past its allocated vector. As noted by the Rust documentation, len() and size_hint() are primarily meant for optimization and incorrect values from their implementations should not lead to memory safety violations. Fixed in
1.1.0
References Updated Nov 08, 2023 · Source: OSV.dev |
1.0.2
unknown
yanked
Dependencies (2)
|
|
1.0.1
unknown
yanked
1 CVE
CVE-2021-29941
GHSA-jpwg-6gf5-5vh9
CVE-2021-29942
GHSA-3h87-v52r-p9rg
RUSTSEC-2021-0050
Aug 25, 2021
Out of bounds write in reorder
7.3
/ 10
High
Network
Low
None
None
Unchanged
Low
Low
Low
swap_index takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len() method of the iterator. If the len() returned by the iterator is larger than the actual number of elements yielded, then swap_index creates a vector containing uninitialized members. If the len() returned by the iterator is smaller than the actual number of members yielded, then swap_index can write out of bounds past its allocated vector. As noted by the Rust documentation, len() and size_hint() are primarily meant for optimization and incorrect values from their implementations should not lead to memory safety violations. Fixed in
1.1.0
References Updated Nov 08, 2023 · Source: OSV.dev |
1.0.1
unknown
yanked
Dependencies (1)
|
|
1.0.0
unknown
yanked
1 CVE
CVE-2021-29941
GHSA-jpwg-6gf5-5vh9
CVE-2021-29942
GHSA-3h87-v52r-p9rg
RUSTSEC-2021-0050
Aug 25, 2021
Out of bounds write in reorder
7.3
/ 10
High
Network
Low
None
None
Unchanged
Low
Low
Low
swap_index takes an iterator and swaps the items with their corresponding indexes. It reserves capacity and sets the length of the vector based on the .len() method of the iterator. If the len() returned by the iterator is larger than the actual number of elements yielded, then swap_index creates a vector containing uninitialized members. If the len() returned by the iterator is smaller than the actual number of members yielded, then swap_index can write out of bounds past its allocated vector. As noted by the Rust documentation, len() and size_hint() are primarily meant for optimization and incorrect values from their implementations should not lead to memory safety violations. Fixed in
1.1.0
References Updated Nov 08, 2023 · Source: OSV.dev |
1.0.0
unknown
yanked
|