Lucene search
+L

2 matches found

OSV
OSV
added 2025/10/21 9:54 p.m.2 views

GHSA-H5J3-CRG5-8JQM orx-pinned-vec has undefined behavior in index_of_ptr with empty slices

The safe function indexofptr causes undefined behavior when called with an empty slice. The issue occurs in the line ptr.addslice.len - 1 which underflows when slice.len is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate...

5.1CVSS7.2AI score
SaveExploits0References5
RustSec
RustSec
added 2025/10/21 12:0 p.m.8 views

Undefined behavior in index_of_ptr with empty slices

The safe function indexofptr causes undefined behavior when called with an empty slice. The issue occurs in the line ptr.addslice.len - 1 which underflows when slice.len is 0, creating a pointer with a massive offset. According to Rust's safety rules, creating such a pointer causes immediate...

7.2AI score
SaveExploits0Affected Software1
Rows per page
Query Builder