summaryrefslogtreecommitdiff
path: root/libutils/Unicode.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2016-10-21 09:46:42 -0700
committerMark Salyzyn <salyzyn@google.com>2016-10-24 07:41:05 -0700
commitab8ad62939800811249ff5c28183b29179277b37 (patch)
tree0d19d3726cf0542c5c3b90ac30ddcc576f5f41a8 /libutils/Unicode.cpp
parenta3bd97a019084035334cd18eae5485076d1282de (diff)
logd: mLastWorstPidOFSystem crash
(cherry pick from commit fa07f9dc4b4d101a49fba5dbbf35c88cdfec4433) mLastWorstPidOfSystem is filled with iterator references that are not from AID_SYSTEM to aid the performance. But we only clear entries from the list during erase if they are from AID_SYSTEM. Remove the filter check in erase so the stale references will be removed. The conditions that caused this failure are difficult to reproduce and are rare. Test: gTests logd-unit-tests, liblog-unit-tests and logcat-unit-tests Bug: 32247044 Bug: 31237377 Change-Id: Ie405dd643203b816cac15eef5c97600551cee450
Diffstat (limited to 'libutils/Unicode.cpp')
0 files changed, 0 insertions, 0 deletions