commit | b13b741a94a3d1fc85277de22644c62778bd3adc | [log] [tgz] |
---|---|---|
author | Tej Singh <singhtejinder@google.com> | Wed May 19 20:12:46 2021 -0700 |
committer | Tej Singh <singhtejinder@google.com> | Thu May 20 15:55:27 2021 -0700 |
tree | b7cb36fe0b4c8fd3392f1de1244b1c219aeeb84b | |
parent | 12f7871029999a41dc68746cdaaff66983fceab8 [diff] |
[RESTRICT AUTOMERGE] Fix OOB write in noteAtomLogged It's possible for bad atoms to have negative atom ids. This results in an OOB write when we note that the atom was logged. This adds a validation check on the logging. Also added safetynet logging for negative atoms Bug: 187957589 Test: POC in bug no longer led to the OOB write & crash Test: checked event log for safetynet logging Change-Id: I8a6b094c94309d7b02430fb860891ef814efb426