summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Alessio Balsini <balsini@google.com> 2020-06-01 13:27:34 +0100
committer Alessio Balsini <balsini@google.com> 2020-06-05 10:38:32 +0100
commit861bdbfb567c8718c5ea7b2170b89e8114033ad9 (patch)
tree19e0d06a3021c6e4da344ecbdfdf5c8907389bdd /libs/androidfw/StringPool.cpp
parentf7c1dc5a3ad9b84b045db5ec1b0abcc1ac66152e (diff)
KernelCpuUidBpfMapReader: Verify presence of Uids before deleting
Make sure the first and last Uids are valid exist in the sparse array before removing the array range of which they are the boundaries. If they are valid, but not exist, create fake elements to make sure all the elemens in the range are deleted. Bug: 157887803 Test: build Signed-off-by: Alessio Balsini <balsini@google.com> Change-Id: I3b5ddc499178163cb9b0e9cabbe4f3457ae34dad
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions