diff options
| author | 2011-11-13 20:50:07 -0800 | |
|---|---|---|
| committer | 2011-11-15 16:19:56 -0800 | |
| commit | 6e267d0cceafe8baf1d80362f1c155a3df63ee9a (patch) | |
| tree | 766fe729558f5e656b80499685b406e3889dcd85 /libs/ui/KeyLayoutMap.cpp | |
| parent | 7302ecf226b25583cf05b245c76d26aba4cad935 (diff) | |
fix crash when validating an invalid EGL objects
the code that validated EGL objects dereferenced the object
to access its EGLDisplay -- needed for validation (!).
This was wrong for two reasons, first we dereferenced the object
before validating it (potentially leading to a crash), secondly
we didn't validate that the object existed in the right EGLDisplay.
We now use the EGLDisplay passed by the user API.
Change-Id: I66f9e851d4f8507892a6b1fee3065f124c4e7138
Diffstat (limited to 'libs/ui/KeyLayoutMap.cpp')
0 files changed, 0 insertions, 0 deletions