diff options
| author | 2016-11-15 00:47:19 +0000 | |
|---|---|---|
| committer | 2016-11-15 00:47:19 +0000 | |
| commit | 9d14ab54098a803f00c97bc2ab3ea1133203b3d8 (patch) | |
| tree | 510f2bb4d945060670989abcf32606286740388c /libs/gui/BufferQueueConsumer.cpp | |
| parent | c29c3734afa4898dd67a6ff9d368cbfb91238c03 (diff) | |
| parent | e5c91fe2e2efdac5af4394253b696d46742446ee (diff) | |
Fix SF security vulnerability: 32660278 am: 2d8a2432e0
am: e5c91fe2e2
Change-Id: I0c2becbd05d41fae542a1c68b6f0f26b0f10a15a
Diffstat (limited to 'libs/gui/BufferQueueConsumer.cpp')
| -rw-r--r-- | libs/gui/BufferQueueConsumer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/gui/BufferQueueConsumer.cpp b/libs/gui/BufferQueueConsumer.cpp index d62eaf716f..bc6f3f012a 100644 --- a/libs/gui/BufferQueueConsumer.cpp +++ b/libs/gui/BufferQueueConsumer.cpp @@ -517,6 +517,7 @@ status_t BufferQueueConsumer::setTransformHint(uint32_t hint) { } sp<NativeHandle> BufferQueueConsumer::getSidebandStream() const { + Mutex::Autolock lock(mCore->mMutex); return mCore->mSidebandStream; } |