summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tiger Huang <tigerhuang@google.com> 2022-08-16 16:57:38 +0800
committer Tiger Huang <tigerhuang@google.com> 2022-08-16 16:57:38 +0800
commitfc8f9637c8f1b9fbe92a75231741c3ad12d03279 (patch)
treea9e4398e8a95a8ced9181a9add46f4aaeb75c121 /libs/androidfw/StringPool.cpp
parent81ae41092e605441e7d586a40d1463c42df0e2ad (diff)
Always copy sources to outInsetsState before writeToParcel
InsetsState#writeToParcel is executed outside of mGlobalLock, so there could be two threads accessing the same object at the same time. This CL copies sources to outInsetsState to prevent the race condition. Fix: 235019713 Fix: 242037615 Test: presubmit Change-Id: I78d9b89f88f75ab673761bbfce86330ff0163adc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions