summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texcompress_cpal.c
diff options
context:
space:
mode:
authorJordan Justen <[email protected]>2012-12-04 01:24:07 -0800
committerJordan Justen <[email protected]>2012-12-06 09:43:07 -0800
commit56e95d3ca231110188e5b910f4e17104f3176d52 (patch)
tree0515c13e0cc51d64a2a92949ed1c9a9d160348fa /src/mesa/main/texcompress_cpal.c
parente12d9f0c6df9f309ade2aea708264c81038685b1 (diff)
mesa: validate that sync objects were created by mesa
Previously, the user could send in a pointer that was not created by mesa. When we dereferenced that pointer, there would be an exception. Now we keep a set of pointers and verify that the pointer exists in that set before dereferencing it. Note: This fixes several crashing gles3conform tests. Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/texcompress_cpal.c')
0 files changed, 0 insertions, 0 deletions