This test crashes with mesa 5989a2937f6a77e8f32ccc30cc7f9b3bd7bed9eb
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 <firstname.lastname@example.org>
Signed-off-by: Dave Airlie <email@example.com>
patch on the list.