Commit graph

13 commits

Author SHA1 Message Date
Lukas Joergensen c9609fbdbf CInterface integration in CodeInterpreter null ptr fix
mNSEntry can be null if there is no TorqueScript defintion, but there could still be a result from an externally defined source.
´
Furthermore fixes an issue where StringStackConsoleWrapper would die before the value was read.
2020-11-15 21:30:45 +01:00
Jeff Hutchinson 2bf3c8384c Fix global variables not being able to be used inside of a foreach$ loop. 2020-10-03 00:47:20 +02:00
AzaezelX 2c1508c169 uninitialized variables-console 2020-05-11 14:40:31 -05:00
Areloch cbc09534e4 Merge pull request #2248 from lukaspj/new-cinterface
New cinterface
2018-12-09 15:28:22 -06:00
Areloch 21123bdc2f Merge pull request #2237 from JeffProgrammer/codeinterpreter_cleanup
Small Cleanup to CodeInterpreter
2018-04-30 22:52:12 -05:00
Lukas Joergensen 870ee9fb5b Integrate new CInterface into the engine-console 2018-04-21 12:04:15 +02:00
Jeff Hutchinson c6ec1f8d86 Added better script interpreter logging. 2018-04-14 10:59:09 -04:00
Jeff Hutchinson c75eecbf53 fix this pointer in op_callfunc_this 2018-04-12 23:14:57 -04:00
Jeff Hutchinson 12134ceb2b Check for NULL on the thisObject before using it. Also cleanup break to goto. 2018-04-10 22:21:40 -04:00
Jeff Hutchinson 5d8b367de8 Remove unused variables and cleanup precision warnings as dSprintf takes a U32 for the size of the buffer to use. 2018-04-02 23:38:17 -04:00
Glenn Smith 79c34c68db Use strncpy instead of strcpy because again, buffer overflows 2018-03-06 02:35:33 -05:00
Glenn Smith 7769da9434 Use strncat instead of strcat to prevent some buffer overflows 2018-03-06 00:48:44 -05:00
Areloch d666322a1b Merging 2017-11-05 22:33:32 -06:00