summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorWu Ahan <ahanwu@google.com>2021-12-02 08:23:26 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2021-12-15 00:02:30 +0000
commita7b35f63479770b3d9222b6cf6a7c47e575fce73 (patch)
tree804297598e1bd2c55fdd990b82ec32f5099d2b4c /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent68b929d34e3071e349548196b4e09cf6e3e9f041 (diff)
DO NOT MERGE: Decode the input of both setStream and setResource calls first
The size of the input of both setStream and setResource may very big that system server got oom while handling it, so we try to decode it first before copying it to the wallpaper path, if the decoding fails, we treat the input as an invalid input. Bug: 204087139 Test: Manually set wallpaper, no PDoS observed. Change-Id: I014cf461954992782b3dfa0dde67c98a572cc770 (cherry picked from commit 51b874f628dc45d99d10ce84694277e33a736894) Merged-In:I014cf461954992782b3dfa0dde67c98a572cc770
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions