rust/library/alloc
Joshua Wong 37718f949f fix OOB pointer formed in Vec::index
Move the length check to before using `index` with `ptr::add` to prevent
an out of bounds pointer from being formed.

Fixes #122760
2024-03-19 22:47:35 -05:00
..
benches remove redundant imports 2023-12-10 10:56:22 +08:00
src fix OOB pointer formed in Vec::index 2024-03-19 22:47:35 -05:00
tests Auto merge of #122055 - compiler-errors:stabilize-atb, r=oli-obk 2024-03-19 00:04:09 +00:00
Cargo.toml Rename {collections=>alloc}{tests,benches} 2023-11-26 12:04:56 +00:00