Kelsidavis-WoWee/src/pipeline
Kelsi d776226fd1 fix: ADT parser OOB reads on sub-chunk headers and unterminated strings
1. MCNK sub-chunk bounds checks didn't account for the 8-byte header
   skip, so parseMCVT/parseMCNR could read up to 8 bytes past the
   validated buffer when sub-chunk headers are present (the common case).

2. parseMTEX/parseMMDX/parseMWMO used unbounded strlen on raw chunk
   data. A truncated file without a null terminator would read past the
   chunk boundary. Replaced with strnlen bounded by remaining size.

Also removes dead debug code: empty magic buffer copy, cathedral WMO
search, and Stormwind placement dump (which also had ::toupper UB).
2026-03-29 19:58:28 -07:00
..
adt_loader.cpp fix: ADT parser OOB reads on sub-chunk headers and unterminated strings 2026-03-29 19:58:28 -07:00
asset_manager.cpp fix: load binary DBCs from Data/db/ fallback path 2026-03-28 16:17:59 -07:00
asset_manifest.cpp Replace MPQ runtime with loose file asset system 2026-02-12 20:32:14 -08:00
blp_loader.cpp refactor: remaining C-style casts, color constants, and header guard cleanup 2026-03-25 11:57:22 -07:00
dbc_layout.cpp fix: auto-detect CharSections.dbc layout and add Blood Elf/Draenei NPC voices 2026-03-23 11:00:49 -07:00
dbc_loader.cpp perf: eliminate ~70 unnecessary sqrt ops per frame, optimize caches and threading 2026-03-27 16:33:16 -07:00
loose_file_reader.cpp Replace MPQ runtime with loose file asset system 2026-02-12 20:32:14 -08:00
m2_loader.cpp perf: hoist key array read out of per-sequence loop in parseAnimTrackVanilla 2026-03-29 19:51:17 -07:00
mpq_manager.cpp perf: eliminate ~70 unnecessary sqrt ops per frame, optimize caches and threading 2026-03-27 16:33:16 -07:00
terrain_mesh.cpp Add configurable MSAA anti-aliasing, update auth screen and terrain shader 2026-02-22 02:59:24 -08:00
wdt_loader.cpp Fix instance portals: WDT byte order, box trigger sizing, suppress ping-pong, WMO cache cleanup 2026-02-27 04:59:12 -08:00
wmo_loader.cpp refactor: remaining C-style casts, color constants, and header guard cleanup 2026-03-25 11:57:22 -07:00