rust-secure-code / safety-dance

Auditing crates for unsafe code which can be safely replaced

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Audit crc32fast

Shnatsel opened this issue · comments

https://crates.io/crates/crc32fast

Implementation of crc32 with hardware acceleration where applicable. Over 9000 downloads per day. Exposed to untrusted input through a zillion of compression/decompression libraries. Contains unsafe code around CPU feature detection and use of unsafe SIMD intrinsics.

Quick glance shows it to be fine, I'll sit down and look carefully later today