summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Edgar Arriaga <edgararriaga@google.com> 2022-08-11 00:24:56 +0000
committer Edgar Arriaga <edgararriaga@google.com> 2022-08-11 00:24:56 +0000
commit92cffb3fd8911199edddf8136c7aa76edb952fbb (patch)
treea7986a104c991e195a612f523dc0f83f56b97ea7 /libs/androidfw/StringPool.cpp
parent582bfc69f236167c98dc42fe8fc76e23e51aabdf (diff)
Fix for out of bounds exception in CachedAppOptimizer
The exception happens when cancelAllCompactions is called since the size changed while iterating in the loop caused by the inner cancelCompactionForProcess function. Changing the iteration to a while loop fixes the issue until consumed fixes the issue. Bug: 242010026 Test: Manual Change-Id: I92049ae3d06e403a37e69ee252ed993c89b6d9a7
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions