Skip to content
OpenAdvisories

Package · crates.io

cgmath

2 known vulnerabilities.

2 results · Feed

  • Unscored —

    `cgmath` is unmaintained

    The `cgmath` crate is no longer maintained. Users should consider switching to a maintained alternative.

  • Unscored —

    `Matrix{2,3,4}::swap_columns` can trigger undefined behavior for identical indices

    The `Matrix2::swap_columns`, `Matrix3::swap_columns`, and `Matrix4::swap_columns` implementations call `ptr::swap(&mut self[a], &mut self[b])`. When `a == b`, these safe APIs create two mutable references to the same matrix column and pass them to `ptr::swap`…