https://bugs.freedesktop.org/show_bug.cgi?id=106836
Eric Engestrom <fdo-b...@engestrom.ch> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Eric Engestrom <fdo-b...@engestrom.ch> ---
pushed:
commit 41642bdbca007035772fbfdc311f14daa5510d5d
Author: Kyle Brenneman <kbrenne...@nvidia.com>
Date: Wed Jun 6 09:08:47 2018 -0600
egl/glvnd: Fix a segfault in eglGetProcAddress.
If FindProcIndex in egldispatchstubs.c is called with a name that's less
than
the first entry in the array, it would end up trying to store an index of
-1 in
an unsigned integer, wrap around to 2^32, and then crash when it tries to
look
that up.
Change FindProcIndex so that it uses bsearch(3) instead of implementing its
own
binary search, like the GLX equivalent FindGLXFunction does.
Reviewed-by: Eric Engestrom <eric.engest...@intel.com>
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev