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

VertexLoaderBase: Adjust the scope of a boolean variable #2722

Merged
merged 1 commit into from Jul 8, 2015

Conversation

lioncash
Copy link
Member

@lioncash lioncash commented Jul 7, 2015

if a or b do actually turn out to be null for whatever reason, this can cause a null pointer dereference.


if (m_initialized)
{
bool can_test = a->m_VertexSize == b->m_VertexSize &&

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

if a or b do actually turn out to be null, this can cause a null pointer dereference.
@degasus
Copy link
Member

degasus commented Jul 7, 2015

LGTM

degasus added a commit that referenced this pull request Jul 8, 2015
VertexLoaderBase: Adjust the scope of a boolean variable
@degasus degasus merged commit f6766dd into dolphin-emu:master Jul 8, 2015
@lioncash lioncash deleted the statement branch July 8, 2015 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants