mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-06-03 13:41:43 -04:00
readInfo iterated the info JSON's files array without bounding; a malicious WCP could declare more entries than the header fileCount allows and grow info.files unbounded. Cap to 1M matching the header check so both readInfo callers and --list-wcp/--info-wcp stay bounded.
17 KiB
17 KiB