OSDN Git Service

fix race condition that can cause a use after free
authorMathias Agopian <mathias@google.com>
Tue, 4 Apr 2017 00:14:31 +0000 (17:14 -0700)
committerandroid-build-team Robot <android-build-team-robot@google.com>
Thu, 15 Jun 2017 19:14:46 +0000 (19:14 +0000)
commit39dfabd43cbe57f92b771c0110a5c2d976b6c44f
tree3fde11238ef0aea291136f297a639db5c15eb02c
parente8dbc1a3fa08d18cd327df2a5ceeb42d1923b1af
fix race condition that can cause a use after free

Backported from 12a0ccd6f7201bac706d903ac3f436c4358fe203.

Bug: 33004354
Test: manual
Change-Id: I9b38ee644b02268c9b995a330db758aa2e568399
(cherry picked from commit 59485525a6047453e6ba16c03989381e2a0d56ec)
libs/gui/BufferQueueProducer.cpp