summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueConsumer.cpp
diff options
context:
space:
mode:
author Fabien Sanglard <sanglardf@google.com> 2016-11-15 01:17:50 +0000
committer android-build-merger <android-build-merger@google.com> 2016-11-15 01:17:50 +0000
commit57dbf1c224be67afc296ef97b70b6a13647d4c83 (patch)
tree487aa972e611e143753a6c750b9088d94052b81b /libs/gui/BufferQueueConsumer.cpp
parent0517da2c5a385663b5d4b0292f7799735cb0bb35 (diff)
parentc8684d517aeae248b0579ef7fcb4d31ff28e59a3 (diff)
Fix SF security vulnerability: 32660278 am: 2d8a2432e0 am: e5c91fe2e2 am: 9d14ab5409 am: 275b2347ef am: aff7827b4f
am: c8684d517a Change-Id: I7d37baee66a7a16cb77e227b66ba93bc87119810
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
-rw-r--r--libs/gui/BufferQueueConsumer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/BufferQueueConsumer.cpp b/libs/gui/BufferQueueConsumer.cpp
index 7504ed49b9..7aea4bb742 100644
--- a/libs/gui/BufferQueueConsumer.cpp
+++ b/libs/gui/BufferQueueConsumer.cpp
@@ -572,6 +572,7 @@ status_t BufferQueueConsumer::setTransformHint(uint32_t hint) {
}
sp<NativeHandle> BufferQueueConsumer::getSidebandStream() const {
+ Mutex::Autolock lock(mCore->mMutex);
return mCore->mSidebandStream;
}