Fix out-of-bounds stack read
authorAri Suonpaa <ari.suonpaa@siru.fi>
Fri, 12 Nov 2021 05:08:39 +0000 (07:08 +0200)
committerMatthew Netsch <quic_mnetsch@quicinc.com>
Thu, 18 Nov 2021 21:53:26 +0000 (21:53 +0000)
commit355b5826b3c840d868f097534b4d422d9efa2115
treeaeddcc401fbe05e79b12bf66d467e68a674d8491
parent51d88afff834907ed4d1da89dcac6e655b29330a
Fix out-of-bounds stack read

glBufferData was given a pointer to a C struct, but
a wrong struct type was used for sizeof.

VK-GL-CTS Issue: 3294

Affects:

KHR-GLES31.core.draw_indirect.negative-noV*arrays

Components: OpenGL
Change-Id: If02916683e0fee46b05dd4774b56f7fe335cc80f
external/openglcts/modules/gles31/es31cDrawIndirectTests.cpp