summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorMuhammad Qureshi <muhammadq@google.com>2021-01-15 12:58:50 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2021-02-09 01:23:31 +0000
commit19845bc16e53fe3436d61e5bc220deb45b507335 (patch)
tree9295e9b27460c21c33c62c21dcd067ce89141efd /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parenta5eb01054b44472d32bda00066dc6ffceb9123d1 (diff)
[RESTRICT AUTOMERGE] Fix potential out of bounds writes in LogEvent.
mUidFieldIndex, mExclusiveStateFieldIndex, mAttributionChain{Start|End}Index are stored using int8_t. These values can overflow when mValues.size() exceeds INT8_MAX. Add proper bounds checking to ensure these values don't exceed INT8_MAX. Bug: 174488848 Bug: 174485572 Test: m Test: statsd_test Test: TreeHugger Change-Id: I416e2de06ca2935017e15d4e91000652831e6b6c (cherry picked from commit 53251a491faab1fb88e28b7cafe5913842b8d71d)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions