Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 4ad01f7d authored by Kevin F. Haggerty's avatar Kevin F. Haggerty
Browse files

Merge tag 'android-security-9.0.0_r71' into staging/lineage-16.0_merge_android-security-9.0.0_r71

Android Security 9.0.0 Release 71 (7449186)

* tag 'android-security-9.0.0_r71':
  [RESTRICT AUTOMERGE] Fix OOB write in noteAtomLogged

Change-Id: I1442ecb375fb46399606b754191186ad6640b092
parents 38b97f79 40783c37
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -352,6 +352,10 @@ void StatsdStats::noteAtomLogged(int atomId, int32_t timeSec) {
        ALOGW("not interested in atom %d", atomId);
        ALOGW("not interested in atom %d", atomId);
        return;
        return;
    }
    }
    if (atomId < 0) {
        android_errorWriteLog(0x534e4554, "187957589");
        return;
    }


    mPushedAtomStats[atomId]++;
    mPushedAtomStats[atomId]++;
}
}