diff options
| author | 2022-09-29 16:43:04 -0700 | |
|---|---|---|
| committer | 2022-09-29 16:43:04 -0700 | |
| commit | de47d0b926045126c1f8911e48a8e38715e8c912 (patch) | |
| tree | bfe49efecdfe6f47bf79acf9c81ecd071f5208bc /libs/androidfw/StringPool.cpp | |
| parent | 1712deb1159bd59b43a85dc78a26e5f2ca426179 (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
Change-Id: Ie585b6d113ebddee491c9ee433f070bed71a57cc
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions