summaryrefslogtreecommitdiff
path: root/libs/androidfw/FileStream.cpp
diff options
context:
space:
mode:
author Song Chun Fan <schfan@google.com> 2025-01-09 13:46:08 -0800
committer Song Chun Fan <schfan@google.com> 2025-01-09 13:46:08 -0800
commit3a5ae97dae47546e33608cfd601323e9794f2618 (patch)
treef96962eeb3c3abe69c96f863ea329739c1892401 /libs/androidfw/FileStream.cpp
parentaf9495636432436d1e8ef8652cb19873e4eb1393 (diff)
[pm] Guard concurrent modifications of mRunningInstalls
PackageManagerService.mRunningInstalls is a SparseArray which is not atomic, and it can be used concurrently by more than one threads. Guard it to prevent data races. Change-Id: I7b59a4351220f33f94a778e1a622177121fa202d BUG: 388491757 FIXES: 388491757 Test: builds FLAG: EXEMPT bug fix
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions