diff options
author | Dave Airlie <[email protected]> | 2016-05-03 17:32:28 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2016-05-03 20:12:59 +1000 |
commit | 5989a2937f6a77e8f32ccc30cc7f9b3bd7bed9eb (patch) | |
tree | f20df7cd5d1b2fff479d4259efc55feee1c8346f /src/gtest/include | |
parent | 30823f997b96e3568bc94827253e3a2b08e86598 (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/gtest/include')
0 files changed, 0 insertions, 0 deletions