summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVladislav Kaznacheev <kaznacheev@google.com>2017-12-20 12:18:03 -0800
committerVladislav Kaznacheev <kaznacheev@google.com>2017-12-20 12:18:03 -0800
commit44e7de3a2a3c3459c7004b392dd8de217c34aab0 (patch)
tree346eeb1c14780a356ea31fdb97214a56564b932a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent57365515d5d19574b37914adc321807f13d0caf5 (diff)
Validate hotspot when loading PointerIcon from resource
Currently PointerIcon.load and PointerIcon.getSystemIcon do not check if the hotspot position is within the bounds of the underlying bitmap. The check is performed only in PointerIcon.createFromParcel which is called in the system server process and the resulting exception might be hard to trace to the root cause. Bug: 70862454 Test: android.widget.cts.PointerIconTest Change-Id: I7f19cc9fc60b7bf72ad53403c203087201a5810c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions