summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorAyush Sharma <ayushsha@google.com>2022-03-16 10:32:23 +0000
committerAyush Sharma <ayushsha@google.com>2022-03-23 06:39:47 +0000
commit658c53c47c0d1b6a74d3c0a72372aaaba16c2516 (patch)
tree1c5ea7e1b3f43bcdc0ea31bb2ad857dfafcfdfa1 /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent81f051eff46afa4bb3c9246baebe361397f7c584 (diff)
Fix security hole in GateKeeperResponse
GateKeeperResponse has inconsistent writeToParcel() and createFromParcel() methods, making it possible for a malicious app to create a Bundle that changes contents after reserialization. Such Bundles can be used to execute Intents with system privileges. We fixed related issues previously for GateKeeperResponse class, but one of the case was remaining when payload is byte array of size 0, Fixing this case now. Bug: 220303465 Test: With the POC provided in the bug. Change-Id: Ida28d611edd674e76ed39dd8037f52abcba82586 Merged-In: Ida28d611edd674e76ed39dd8037f52abcba82586 (cherry picked from commit 46653a91c30245ca29d41d69174813979a910496) Change-Id: I486348c7a01c6f59c952b20fb4a36429fff22958
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions