-
Notifications
You must be signed in to change notification settings - Fork 194
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
Array access result in null pointer dereference. #16
Comments
@Tpbradley Please help me on above issue. |
I've had a quick look and it looks like xcode is showing errors because there is a potential that some variables could be set to nil and accessed further on in the code. For example, in the code just above, currTBXMLElement could be set to nil, yet it's accessed layer on by currTBXMLElement->nextSibling. The fix is to simply check currTBXMLElement contains a value before using it. The other errors look to be the same problem. |
@Tpbradley I tried few code snippet as per your suggestion but it didn't work. I think something goes wrong, I just want to know that when can we expect this update or commit so that we can upgrade TBXML library as early as possible with this new fix. |
Hi, |
After upgrading XCode to 4.6, I got above analyze warnings.
The text was updated successfully, but these errors were encountered: