Engine was also using raw strcat/strcpy

This commit is contained in:
Glenn Smith 2018-03-07 00:49:46 -05:00
parent 751ccae12d
commit 25c25b20b1
4 changed files with 6 additions and 6 deletions

View file

@ -53,7 +53,7 @@ bool TamlXmlParser::accept( const char* pFilename, TamlVisitor& visitor )
#ifdef TORQUE_OS_ANDROID
if (strlen(pFilename) > strlen(filenameBuffer)) {
strcpy(filenameBuffer, pFilename);
dStrcpy(filenameBuffer, pFilename, 1024);
}
#endif