summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Fabien Sanglard <sanglardf@google.com> 2016-12-06 19:22:20 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2016-12-06 19:22:21 +0000
commitfefc4f4e94945bfde3e3aa5524756f36f06b739d (patch)
treed9e716677082d03dbec4fb5a79534c44a57d948a
parente37a4dc7c479574f5210458c083fd7c98a704e20 (diff)
parentdffa078205f6b6c17e24214928f642393423e081 (diff)
Merge "Fix security vulneratibly 31960359" into nyc-dev
-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) {