mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 21:53:48 -04:00
Top-level WOM save was writing raw model.vertices/.indices/.texturePaths sizes; load enforces 1M / 4M / 1024 limits. A pathological model would emit a header rejected on load, leaking the rest of the file body. Cap each count at the load limit and iterate the WOM1 vertex block + texture-path block by index so the body matches the header.