1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 10:14:06 +02:00
parser/tests
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
..
snapshots update tests 2025-02-19 20:42:56 +01:00
entity.rs clippy fixes 2024-04-07 14:56:43 +02:00
message_reencode.rs clippy fixes 2024-04-07 14:56:43 +02:00
reencode.rs clippy fixes 2023-06-03 18:30:30 +02:00
sendprops.rs switch to cargo-insta for snapshot testing 2023-12-21 23:02:41 +01:00
stringtable.rs Fix saturating overflow in ExtraData parsing 2025-06-02 21:35:42 +01:00
tests.rs update tests 2025-02-19 20:42:56 +01:00