mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-11-26 20:44:12 +00:00
On 32-bit targets, the usize bound computation could wrap. The range check then passed and the fast path read out of bounds. In u64, it cannot overflow. On 64-bit targets, the generated code is the same.