We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm not sure if there's an issue for this, but the check if beyond end of string should be tested before dereferencing the pointer to the buffer.
cocos2d-x-3rd-party-libs-bin/rapidxml/rapidxml.hpp
Line 1424 in 14040db
//if (*text == 0 || text >= endptr_) if (text >= endptr_ || *text == 0) break;
The text was updated successfully, but these errors were encountered:
Yep, I think it should check whether the text pointer is valid first. Otherwise, it will read an invalid byte.
text
Sorry, something went wrong.
No branches or pull requests
I'm not sure if there's an issue for this, but the check if beyond end of string should be tested before dereferencing the pointer to the buffer.
cocos2d-x-3rd-party-libs-bin/rapidxml/rapidxml.hpp
Line 1424 in 14040db
e.g. (should check if gone past end first, otherwise check if it points to a null terminator \0 character):
The text was updated successfully, but these errors were encountered: