Skip to content
OpenAdvisories

Package · crates.io

dahl-salso

2 known vulnerabilities.

2 results · Feed

  • Unscored —

    Out-of-bounds read in `Log2Cache::nlog2n()`, `nlog2n_difference()` and `plog2p()`

    `Log2Cache::new(n)` fills its three tables with entries for `0..=n`, but the three accessor methods index those tables with `get_unchecked` on a value the caller supplies. Nothing bounds the argument and nothing documents a bound, so any value above the `n` t…

  • Unscored —

    Buffer overflow in `Clusterings::from_i32_column_major_order()`

    The `from_i32_column_major_order` method can create inconsistent internal state. When `labels` length and `n_items` mismatch, `n_clusterings` becomes `labels.len() / n_items` (truncated), but subsequent calls to `label()` use indices that exceed the internal …