mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-23 07:40:14 +00:00
Improve robustness of item query response parsing across all three expansions by adding defensive size checks and bounds validation: - WotLK (world_packets.cpp): Add upfront validation for fixed-size fields, bounds cap on statsCount (max 10), in-loop size checks for stat pairs, and improved logging for truncation detection - Classic (packet_parsers_classic.cpp): Add upfront validation for fixed fields, in-loop checks for 10 fixed stat pairs and 5 damage entries, and graceful truncation handling - TBC (packet_parsers_tbc.cpp): Add upfront validation, statsCount bounds cap, and in-loop size checks for variable-length stats and fixed damage entries All changes are backward compatible and log warnings on packet truncation. This is part of ongoing Tier 2 work to improve multi-expansion packet parsing robustness against malformed or truncated server packets. |
||
|---|---|---|
| .. | ||
| audio | ||
| auth | ||
| core | ||
| game | ||
| network | ||
| pipeline | ||
| rendering | ||
| ui | ||
| main.cpp | ||