Skip to content
OpenAdvisories

Package · crates.io

auto_vec

1 known vulnerabilities.

1 result · Feed

  • Unscored —

    Invalid pointer arithmetic in `iter()` and `iter_mut()`

    The `iter()` and `iter_mut()` APIs compute `current = (&children[0] as *const *const RawAutoChild).sub(1)`, which performs pointer subtraction going before the start of the allocation. This is undefined behavior per Rust's pointer arithmetic rules. This can b…