1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00
Commit graph

3 commits

Author SHA1 Message Date
glyphpoch
624efb6427 Fix saturating overflow in ExtraData parsing
- Fix overflow in ExtraData by casting byte_len to usize before
multiplication. This was previously multiplying a u16 with
saturating_mul and would overflow when the extra data in string
tables reaches a certain size.
- Add test case for parsing large string table to verify correct
stream position after read.
2025-06-02 21:35:42 +01:00
2bad24dedd fmt+clippy 2025-02-19 20:42:56 +01:00
875dc7120c more string table tests 2021-07-21 18:50:36 +02:00