summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorpaulhu <paulhu@google.com>2019-12-16 18:24:05 +0800
committerPaul Hu <paulhu@google.com>2019-12-18 07:17:28 +0000
commitd0205a3469dc8d8122e89072c19d0e9f18e7452f (patch)
treef70e288e619ca584cd055aab5cf88e4db1c706d4 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent929b23ac43dff1a4be24818504ea9806293e892c (diff)
Fix security problem on PermissionMonitor#hasPermission
PermissionMonitor#hasPermission only checks permssions that app requested but it doesn't check whether the permission can be granted to this app. If requested permission doens't be granted to app, this method still returns that app has this permission. Then PermissionMonitor will pass this info to netd that means this app still can use network even restricted network without granted privileged permission like CONNECTIVITY_INTERNAL or CONNECTIVITY_USE_RESTRICTED_NETWORKS. Bug: 144679405 Test: Build, flash, manual test Change-Id: Iae9c273af822b18c2e6fce04848a86f8dea6410a Merged-In: I8a1575dedd6e3b7a8b60ee2ffd475d790aec55c4 Merged-In: I2da730feda4d7ebed1f158b073167bb3964b3e7d
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions