commit | 180c91e159a8ba6ee580ca05336857b5d39e1739 | [log] [tgz] |
---|---|---|
author | Arun Kumar K.R <akumarkr@codeaurora.org> | Wed Jun 05 17:21:38 2013 -0700 |
committer | The Android Automerger <android-build@google.com> | Tue Oct 27 10:38:42 2015 -0700 |
tree | 91ceb53d2115c7d3e0ded96f94f5bfe077048194 | |
parent | cbb846ad4aa7551e156d735b92b8ce1375cfe3f3 [diff] |
hwc: Fix to avoid heap corruption - Check for MAX_NUM_APP_LAYERS before updating yuv indices array. - Fall back to GPU composition when number of app layers exceeds MAX_NUM_APP_LAYERS to avoid heap corruption. Bug: 24163261 Acked-by: Ramkumar Radhakrishnan <ramkumar@codeaurora.org> Change-Id: Ieb91b705a0a5f50ce2f8829d1f1ee048d44b7d2e