readBytes 要是一次读进来1024bytes 下面 buf[readBytes] = ‘\0’; 内存就出错了
@minggo
函数是ScriptingCore里的 serverEntryPoint
嗯,这个逻辑确实存在问题。 我会提交修复。
提交修复了:https://github.com/cocos2d/cocos2d-x/pull/15778