mirror of https://github.com/axmolengine/axmol.git
40a6789765
There was the problem when “height” and “width” were typecast to short integer. So for values more than sizeof(short) we had integer overflow. Steps to reproduce: Create simple application with EditBox. Start it. Add 1000 (just example) characters at a time to the EditBox. Method Device::getTextureDataForText will be called and there will be integer overflow for “height” and “width”. As a result application will crash later. |
||
---|---|---|
.. | ||
CCApplication-ios.h | ||
CCApplication-ios.mm | ||
CCCommon-ios.mm | ||
CCDevice-ios.mm | ||
CCDirectorCaller-ios.h | ||
CCDirectorCaller-ios.mm | ||
CCEAGLView-ios.h | ||
CCEAGLView-ios.mm | ||
CCES2Renderer-ios.h | ||
CCES2Renderer-ios.m | ||
CCESRenderer-ios.h | ||
CCGL-ios.h | ||
CCGLViewImpl-ios.h | ||
CCGLViewImpl-ios.mm | ||
CCImage-ios.mm | ||
CCPlatformDefine-ios.h | ||
CCStdC-ios.h | ||
OpenGL_Internal-ios.h | ||
cocos2d-prefix.pch |