mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 20:54:46 +00:00
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.
|
||
|---|---|---|
| .. | ||
| findMatch.cpp | ||
| findMatch.h | ||
| stringFunctions.cpp | ||
| stringFunctions.h | ||
| stringUnit.cpp | ||
| stringUnit.h | ||
| unicode.cpp | ||
| unicode.h | ||