mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
2cbc52e265a2a6c504c446828a4c9e921de9f33d
o In my case the ja2 process took ALL the memory (up to 2GB) and then crashed o The problem is, that the "objectStack.resize(size);" consumes ALL the memory when passing in invalid huge size to the resize method o The wrong "size" is calculated from the temporary files because of wrong items. Now I added a safety check on the size variable and if out of range ( > 1000) we simply fail loading the savegame instead of letting the ja2 process consume all the memory and then let it crash after a few minutes. git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@4532 3b4a5df2-a311-0410-b5c6-a8a6f20db521
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@1017 3b4a5df2-a311-0410-b5c6-a8a6f20db521
Description
No description provided
57 MiB
Languages
C++
90.4%
C
9.3%
HTML
0.2%
CMake
0.1%