Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCBReader null pointer crash #1056

Closed
kagakuninja opened this issue Jun 25, 2012 · 1 comment
Closed

CCBReader null pointer crash #1056

kagakuninja opened this issue Jun 25, 2012 · 1 comment

Comments

@kagakuninja
Copy link

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.

@walzer
Copy link
Contributor

walzer commented Jul 3, 2012

Thanks for your report. http://www.cocos2d-x.org/issues/1382 is created to trace it.

@minggo minggo closed this as completed Aug 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants