https://github.com/TheSuperHackers/GeneralsGameCode/blob/0a05454d8574207440a5fb15241b98ad0b435590/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Contain/OpenContain.cpp#L1451 Here we always deref an end iterator when this function is called. I'm surprised this doesn't crash more often.
GeneralsGameCode/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Contain/OpenContain.cpp
Line 1451 in 0a05454
Here we always deref an end iterator when this function is called. I'm surprised this doesn't crash more often.