Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions crates/arrow2/RUSTSEC-0000-0000.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "arrow2"
date = "2024-07-07"
url = "https://github.com/jorgecarleitao/arrow2/blob/main/src/compute/sort/row/mod.rs#L272"
informational = "unsound"
categories = ["memory-exposure"]

[affected]
functions = { "arrow2::compute::sort::row::Rows::row_unchecked" = [">= 0.14.2, <= 0.18.0"] }

[versions]
patched = []
```

# Unsoundly mark unsafe function as safe

The function `Rows::row_unchecked` is wrongly marked as safe, which would confuse
the boundary between safe and unsafe Rust and allow illegal memory access in safe
Rust.