Skip to content
OpenAdvisories

Package · crates.io

faster-hex

1 known vulnerabilities.

1 result · Feed

  • Unscored —

    `hex_decode_unchecked` AVX2 path reads past `src`

    `faster_hex::hex_decode_unchecked` is a safe function. On x86 and x86_64, when AVX2 is enabled, `hex_decode_avx2` keeps decoding while `dst.len() >= 32` and then loads 32 bytes from `src` and 32 bytes from `src[32..]`. Nothing in that loop requires `src` to c…