Check for end_offset < data_offset.
I don't think it actually breaks anything if we don't (seeking will fail, but it will fail cleanly). However, it _is_ an indication that the file data changed out from under us (or of another library bug), so we should fail fast.
Loading
Please register or sign in to comment