summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTej Singh <singhtejinder@google.com>2021-05-19 20:12:46 -0700
committerTej Singh <singhtejinder@google.com>2021-05-20 22:42:01 +0000
commitcc0bba36c7c326e2fb75f1531547d2ed861d392c (patch)
tree0106137e5ba7980d1f6ec4ed60e82feb56a63a9b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente159dbb07ff554c9dc4c593d8eb53a60b0006403 (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
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions