summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorFyodor Kupolov <fkupolov@google.com>2017-02-27 17:33:18 -0800
committerFyodor Kupolov <fkupolov@google.com>2017-03-01 01:31:18 +0000
commitbb6096d37b70b8cbc41f7eac52d4e0e3f47de3ca (patch)
tree5c572647bbf9cb37026171fc2d844e913996e526 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent3e4faac39f77e3ad86cdca528d8981cb0c00daa0 (diff)
[DO NOT MERGE] Check bounds in offsetToPtr
Check whether specified offset belongs to mData. Also added a default argument bufferSize to check the end offset. Size of the ashmem descriptor can be modified between ashmem_get_size_region call and mmap. createFromParcel method was updated to check ashmem size again immediately after memory is mapped. Test: manual - using the test app from the bug Bug: 34128677 Change-Id: I3ecd1616a870ce20941ce9b20a1843d2b4295750 (cherry picked from commit 45e2e95c2ffeb2d978e2cce80b729ef6ada3b8d2)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions