summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.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-21 00:14:21 -0700
commit7f9b0a9fb0f5f1fff9243af7472f0a25cf7af23e (patch)
tree3c61ba073396e1c21ec0f50154aa3a54b31f1db5 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent0f311f7b28b405f127405e47a1989977a37d873c (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/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions