summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Yurii Zubrytskyi <zyy@google.com> 2022-09-29 16:43:04 -0700
committer Yurii Zubrytskyi <zyy@google.com> 2022-10-04 16:46:51 +0000
commit7b4d4ca5e91442ddbfcccb55715d75a67caf3eff (patch)
tree2098f7471f9fe13e646b99e66745c8833a972f77 /libs/androidfw/StringPool.cpp
parent9a0ed1afe1a4ea2c1e8537196d84c8c958a275d5 (diff)
[security] Make frro iteration thread-safe
Add a lock over all frro iterator methods to make sure the iterator isn't changed or removed from under the iteration call while it's running. + Also introduce an ID ensuring the caller is the same for all the acquire/next/release methods + a bit of moves where they were supposed to be from the start Bug: 245727875 Test: manual + presubmits Merged-In: Ie585b6d113ebddee491c9ee433f070bed71a57cc (cherry picked from commit de47d0b926045126c1f8911e48a8e38715e8c912) Change-Id: Ib4870d680501426dcc0a62eebd003451120179a5
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions