more cubescript limits

the limits are hardcoded and require recompilation to change

* limit recursion depth
* limit loop iterations
* limit string lengths
* limit push/pop depth
* clean surplus whitespace from config files
* provide context for script errors

(limits accidental crashes, not intentionally malfunctioning code)
This commit is contained in:
ac-stef
2017-06-08 19:00:04 +02:00
parent 2a52dc0069
commit ef2b91c0ce
5 changed files with 77 additions and 25 deletions
-1
View File
@@ -798,4 +798,3 @@ void listzipfiles(const char *dir, const char *ext, vector<char *> &files) // (d
});
}