Commit 6dc7f360 by Shannon Woods

Fix null pointer dereference in glGetBufferPointerv

BUG=angle:687 Change-Id: If8f215d4a86332b9e6e791263bdeeb44b23a42a2 Reviewed-on: https://chromium-review.googlesource.com/205711Reviewed-by: 's avatarJamie Madill <jmadill@chromium.org> Tested-by: 's avatarShannon Woods <shannonwoods@chromium.org>
parent 28bedaf8
......@@ -9896,8 +9896,10 @@ void __stdcall glGetBufferPointervOES(GLenum target, GLenum pname, void** params
{
*params = NULL;
}
*params = buffer->getMapPointer();
else
{
*params = buffer->getMapPointer();
}
}
}
catch (...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment