diff options
author | Eric Anholt <[email protected]> | 2013-01-03 11:56:54 -0800 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-03-16 14:14:18 +1100 |
commit | a76a3cf664f93ca8a0a62281907a3f3342f44054 (patch) | |
tree | 493c434398eadec321d4e7d245cfe1df57ece81d /src/mapi/glapi/glapi_nop.c | |
parent | 05dd4a1104ea815e4627bab0fbd35d9abe49f024 (diff) |
mesa: Validate count parameters when marshalling.
Otherwise, for example, glDeleteBuffers(-1, &bo) gets you a segfault
instead of GL_INVALID_VALUE.
Acked-by: Timothy Arceri <[email protected]>
Acked-by: Marek Olšák <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Tested-by: Mike Lothian <[email protected]>
Diffstat (limited to 'src/mapi/glapi/glapi_nop.c')
0 files changed, 0 insertions, 0 deletions