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 about 2 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:-

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.