logd: crash in prune mLastWorstPidOfSystem
am: 6c915528d3
Change-Id: Ia4a46bde38fcf3e0e05099b6bb42e9d1c82c73de
This commit is contained in:
commit
500ee29ecd
1 changed files with 1 additions and 1 deletions
|
|
@ -691,7 +691,7 @@ bool LogBuffer::prune(log_id_t id, unsigned long pruneRows, uid_t caller_uid) {
|
|||
&& ((!gc && (element->getPid() == worstPid))
|
||||
|| (mLastWorstPidOfSystem[id].find(element->getPid())
|
||||
== mLastWorstPidOfSystem[id].end()))) {
|
||||
mLastWorstPidOfSystem[id][element->getUid()] = it;
|
||||
mLastWorstPidOfSystem[id][element->getPid()] = it;
|
||||
}
|
||||
if ((!gc && !worstPid && (element->getUid() == worst))
|
||||
|| (mLastWorstUid[id].find(element->getUid())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue