mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:29:00 +00:00
A command for a huge turn made the server resize saved commands and clients their command queues to that size, running out of memory. Reject turns below 0 or beyond MAX_COMMAND_TURN_FACTOR * COMMAND_DELAY_MP ahead of the ready turn, before relaying, and kick the sender.