summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorOli Lan <olilan@google.com>2022-03-03 16:56:18 +0000
committerOli Lan <olilan@google.com>2022-03-03 16:56:18 +0000
commitbfb1cd5fd27c8d854336163540bb5b014ad504d1 (patch)
treece9f0f03a590990f76054ad11d6c6c7646f9999a /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent4fe1d2d420804ccd67f21ca7da369ea3c74d0190 (diff)
Prevent exfiltration of system files via user image settings.
This is a backport of ag/17005706. This adds mitigations to prevent system files being exfiltrated via the settings content provider when a content URI is provided as a chosen user image. The mitigations are: 1) Copy the image to a new URI rather than the existing takePictureUri prior to cropping. 2) Only allow a system handler to respond to the CROP intent. Bug: 187702830 Test: build and check functionality Merged-In: Idf1ab60878d619ee30505d71e8afe31d8b0c0ebe Change-Id: Ieee3f2d8057e648bde52a91463d517abb47f37eb
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions