diff options
author | Kenneth Graunke <[email protected]> | 2016-03-23 23:46:12 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2016-03-24 10:47:50 -0700 |
commit | d1bb1df87ed8518693730efc80b3a8b9912bb7bf (patch) | |
tree | d1ead7b407a57ef9eac509a6144cf9dcb62667cd /src/gallium | |
parent | 028459a00d6faec85ea75ebbaff75fb6f1d91bff (diff) |
mesa: Handle negative length in glPushDebugGroup().
The KHR_debug spec doesn't actually say we should handle this, but that
is most likely an oversight - it says to check against strlen and
generate errors if length is negative. It appears they just forgot to
explicitly spell out that we should then proceed to actually handle it.
Fixes crashes from uncaught std::string exceptions in many
dEQP-GLES31.functional.debug.error_filters.* tests.
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions