We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.
Array Overflow --> char buffer[16386] @ TextureCache::getCachedTextureInfo()
Array Overflow --> char buffer[16386] @ TextureCache::getCachedTextureInfo()
Bug #4378 [Closed]
Redmine issue system is closed, we are using github issue system instead.
This issue was moved to https://github.com/cocos2d/cocos2d-x/issues/8362
Status: | Closed | |
---|---|---|
Start date: | 2014-03-15 | |
Priority: | Low | |
Due date: | ||
Assignee: | - | |
% Done: | 0% |
|
Category: | - | |
Target version: | - |
cocos2d-x 3.0beta2
File: CCTextureCache.cpp
Func: std::string TextureCache::getCachedTextureInfo() const
CODE:¶
char buffer[16386];
...
for (...) {
...
strcat(buffer, buftmp);
}
BUG:¶
buffer overflow when _textures.size() > 213 in my App.