diff options
| author | Jamie Gennis <jgennis@google.com> | 2011-02-27 18:40:09 -0800 | 
|---|---|---|
| committer | Jamie Gennis <jgennis@google.com> | 2011-02-27 18:43:17 -0800 | 
| commit | bd9cbc3b5547e096eca243c3ec7ebe3ee1ab3b89 (patch) | |
| tree | 4e672d9ee3100846652c476c72f9addc45272a3a /opengl/tests/gl_basic/gl_basic.cpp | |
| parent | be566cb5705996590b3f4e797f211aa5695d61b4 (diff) | |
surfaceflinger_client: Don't dereference NULL ptrs.
This change adds a null pointer check before dereferencing buffers in
a Surface list of known GraphicBuffer objects.  If not all the buffers
have been dequeued before this list can legitimately contain NULL
entries.
Change-Id: I0e105b53a3f6f9a5404716b7bf150c793ff648a6
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions
