Projects > cpp > Issues > Bug #1382

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

Create Issue on Github

CCBReader null pointer crash

Bug #1382 [Closed] 2012-07-03 02:18 . Updated about 9 years ago

Reported by kagakuninja at

CCBReader::readNodeGraphFromFile allows the pOwner parameter to be null (the default value is null, so this implies that null is a legal value for pOwner). However, CCBReader::readNodeGraphFromFile will crash when attempting to call pOwner->retain. If null is not a legal value, the default param value should be removed.

zhangxm 2012-08-20 07:52
  • Assignee set to zhangxm
zhangxm 2012-08-21 03:41
  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset commit:a41f03b998bcf28eb6e282bc6f9d228d81005ad8.

zhangxm 2012-08-21 03:41

Applied in changeset commit:8f6b6448b1a6135512b17db7badedf369914519d.

zhangxm 2012-08-23 07:36
  • Status changed from Resolved to Closed

Atom PDF

Start date:2012-07-03
Due date:
% Done:


Target version:cocos2d-2.0-x-2.0.2