On 12/04/2012 04:55 PM, Jordan Justen wrote:
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<jordan.l.jus...@intel.com>
---
src/mesa/main/mtypes.h | 6 ++++--
src/mesa/main/shared.c | 12 +++++++-----
src/mesa/main/syncobj.c | 23 +++++++++++++++--------
3 files changed, 26 insertions(+), 15 deletions(-)
Reviewed-by: Brian Paul <bri...@vmware.com>
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev