summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInit.java
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2020-03-30 17:57:26 -0700
committerMathieu Chartier <mathieuc@google.com>2020-03-31 12:10:36 -0700
commit314faec6bdfac52a997587e66ef67badeefd832a (patch)
treebf21031bb3fb6bae4142a0b0f627f7e160e77abb /test/008-exceptions/src/MultiDexBadInit.java
parentda4fb26918c99f0ff8ffe78f0d4aca0a9c8668eb (diff)
Fix race condition in GetPreResolvedStrings
DexCache::VisitReferences had a race condition where a null pointer could be accessed if there was another concurrent caller doing ClearPreResolvedStrings. Fix is to add an extra null check that prevents the race. (cherry-picked from commit ca1c39addf4446c8eff3cf0b304112c59b400b18) Bug: 152716138 Test: test-art-host Merged-In: Ib447ce689e23f7c20d4cda8b457abeb89ade9291 Change-Id: Ib447ce689e23f7c20d4cda8b457abeb89ade9291
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInit.java')
0 files changed, 0 insertions, 0 deletions