Skip to content
Commit a80cead9 authored by Jack He's avatar Jack He
Browse files

Bluetooth: Check if packageName belongs to callingUid in binder calls

* Several Bluetooth APIs take packageName parameter from Apps, which is
  resolved through ActivityThread.currentPackageName()
* Add checks to make sure that packageName passed through binder calls
  actually belongs to the calling uid

Bug: 120574260
Test: make, enable/disable Bluetooth
Change-Id: If6593cf8cbab91eb27b9f22b635f984c04ec2de2
parent fdc8356a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment