commit | a1c7e0e706bd32fec7a06456beccbdf090cb8c76 | [log] [tgz] |
---|---|---|
author | Jamie Gennis <jgennis@google.com> | Sun Feb 27 18:40:09 2011 -0800 |
committer | Jamie Gennis <jgennis@google.com> | Sun Feb 27 18:43:17 2011 -0800 |
tree | f44a535e6e73b8128dc9bb3a0e916de0f40ff5ad | |
parent | 097d3a4729583276df166a1f8c0336d8ebafc566 [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