summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorSinclair Yeh <[email protected]>2014-06-03 14:00:13 -0700
committerIan Romanick <[email protected]>2014-06-03 17:28:30 -0700
commit91ff0d4c6510dc38f279c586ced17fba917873e7 (patch)
tree4fc6c0a2224b0dae1d220c6a4405dfb5662cf5bb /bin
parentd2261918202697febed0de18f66416e273001088 (diff)
egl: Check for NULL native_window in eglCreateWindowSurface
We have customers using NULL as a way to test the robustness of the API. Without this check, EGL will segfault trying to dereference dri2_surf->wl_win->private because wl_win is NULL. This fix adds a check and sets EGL_BAD_NATIVE_WINDOW v2: Incorporated feedback from idr - moved the check to a higher level function. Reviewed-by: Ian Romanick <[email protected]> Reviewed-by: Chad Versace <[email protected]> Cc: "10.1 10.2" <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions