Skip to content
OpenAdvisories

Package · crates.io

libafl

1 known vulnerabilities.

1 result · Feed

  • Medium —

    libafl has unsound usages of `core::slice::from_raw_parts_mut`

    The library breaks the safety assumptions when using unsafe API `slice::from_raw_parts_mut`. The pointer passed to `from_raw_parts_mut` is misaligned by casting `u8` to `u16` raw pointer directly, which is unsound. The bug is patched by using `align_offset`, …