summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Badash <badash@google.com>2016-12-14 00:22:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2016-12-14 00:22:19 +0000
commit97fd99c7997f7318ba279f4dbf45c21c2ef77301 (patch)
treebfa6c4f7099351b8d52bd948d43382d1bf5f6de5
parentc77ef0e99a8b89ac911187db04179c0fe566dcdf (diff)
parent9b8e8415f97719942518671fbbe5df280087c04b (diff)
downloadnative-97fd99c7997f7318ba279f4dbf45c21c2ef77301.tar.gz
Merge "Fix security vulneratibly 31960359" into security-aosp-nyc-mr1-release
-rw-r--r--libs/gui/BufferQueueCore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/BufferQueueCore.cpp b/libs/gui/BufferQueueCore.cpp
index 9cb9c62401..4f6ecffd60 100644
--- a/libs/gui/BufferQueueCore.cpp
+++ b/libs/gui/BufferQueueCore.cpp
@@ -89,6 +89,7 @@ BufferQueueCore::BufferQueueCore(const sp<IGraphicBufferAlloc>& allocator) :
mSharedBufferSlot(INVALID_BUFFER_SLOT),
mSharedBufferCache(Rect::INVALID_RECT, 0, NATIVE_WINDOW_SCALING_MODE_FREEZE,
HAL_DATASPACE_UNKNOWN),
+ mLastQueuedSlot(INVALID_BUFFER_SLOT),
mUniqueId(getUniqueId())
{
if (allocator == NULL) {