summaryrefslogtreecommitdiff
path: root/opengl/libagl/BufferObjectManager.cpp
diff options
context:
space:
mode:
author Ajit Kumar <kajit@qti.qualcomm.com> 2016-11-25 12:08:53 +0530
committer Zach Johnson <zachoverflow@google.com> 2016-12-29 12:21:22 -0800
commit56ec3afb8444a9a7056b54601bb6031465113621 (patch)
tree2939e1c598d31151ffeb40759fc6e77e0e418c74 /opengl/libagl/BufferObjectManager.cpp
parent3b36bcf7035c32fafe3070c54b427779467ad416 (diff)
gralloc1: Acquire mutex early in release
Due race condition between release and retain calls, retain return stale handle. Which results in crash in SurfaceFlinger. Fix crash by acquiring mutex early in release function. Bug: 32384569 Change-Id: I9130f5864a53ef208dc1ad8ecf698f1847548285
Diffstat (limited to 'opengl/libagl/BufferObjectManager.cpp')
0 files changed, 0 insertions, 0 deletions