Torque3D/Engine
Jeff Hutchinson 2e8a0185b3 Fix buffer overflow issue in StringUnit::getWords.
getWords("a b c d", 2); // "c d"

that turns into this inside the engine:

getWords("a b c d", 2, 1000000);

that code after parsing d goes string++ which passes over the null character. This now enforces that check. Found this with the new script interpreter...how this wasn't blowing up before is beyond me.
2021-06-18 21:08:03 -04:00
..
bin Old project generator is dead 2019-11-26 22:02:12 +10:00
lib mend 2021-05-10 19:58:51 -04:00
modules/Verve (Mostly) updated verve implementation. 2019-03-07 16:23:41 -06:00
source Fix buffer overflow issue in StringUnit::getWords. 2021-06-18 21:08:03 -04:00