summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/vtxfmt.h
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2016-05-03 17:32:28 +1000
committerDave Airlie <[email protected]>2016-05-03 20:12:59 +1000
commit5989a2937f6a77e8f32ccc30cc7f9b3bd7bed9eb (patch)
treef20df7cd5d1b2fff479d4259efc55feee1c8346f /src/mesa/main/vtxfmt.h
parent30823f997b96e3568bc94827253e3a2b08e86598 (diff)
mesa/objectlabel: don't do memcpy if bufSize is 0 (v2)
This prevents GL43-CTS.khr_debug.labels_non_debug from memcpying all over the stack and crashing. v2: actually fix the test. Reviewed-by: Alejandro PiƱeiro <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/main/vtxfmt.h')
0 files changed, 0 insertions, 0 deletions