mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-05 18:20:09 +00:00
The eager tuple computed o + 8 even when the first read had failed, overflowing a 32-bit usize at offsets near u32::MAX (n = 2 with size = u32::MAX - 20 reaches it: o fits, o + 8 does not). The record is now bounds-checked in one slice and the fields read inside it, the same complete-record pattern the profile reader uses elsewhere.