Added more safety checks to binary readers, and to deserialization in general (preventing unintended negative lengths/jumps that could lead to infinite loops).
Caveats
None that I can think of, unless new bugs are accidentally introduced.
Notes
Split up from previous serialization cleanup/optimization PR.
Description
Added more safety checks to binary readers, and to deserialization in general (preventing unintended negative lengths/jumps that could lead to infinite loops).
Caveats
None that I can think of, unless new bugs are accidentally introduced.
Notes
Split up from previous serialization cleanup/optimization PR.