AppEasyCoreSDK
AppEasyCoreSDK copied to clipboard
XML parser's getNextWord may access invalid address
With function
int CzXmlParser::getNextWord(const char* data, int &offset)
Parameter data is not protected by '/0' in the buffer end of class IwGameString. When use in a heavy memory alloc game, last byte after data may not be '/0' and the call to getNextWord will cost lots time to finish.
I find this problem in IwGame Engine, wish that was good in new AppEasy Engine.
regards, Simon