Projects > cpp > Issues > Bug #4378

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Array Overflow --> char buffer[16386] @ TextureCache::getCachedTextureInfo()

Bug #4378 [Closed]
liangXiao 2014-03-15 02:44 . Updated almost 10 years ago

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.

walzer@cocos2d-x.org 2014-10-08 02:46

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

Atom PDF

Status:Closed
Start date:2014-03-15
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-