summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2021-05-19 20:12:46 -0700
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-06-16 01:11:15 +0000
commitfbe5177bd5d704dabf434458649fd93a07d8d654 (patch)
tree80f060e6aceba982c4ef9695859a287b826e4ebe /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parentbb2279de3ca08408433dc82496b60ecf4e2b9520 (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 (cherry picked from commit cc0bba36c7c326e2fb75f1531547d2ed861d392c)
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions