diff options
| author | 2021-07-29 09:37:48 +0800 | |
|---|---|---|
| committer | 2021-07-29 05:33:13 +0000 | |
| commit | 591e345fbc0ccb6815e27ccff1a0ae9d02002a90 (patch) | |
| tree | 35f075f202ca9ca279175c29b4c788af5f1937dd /libs/androidfw/misc.cpp | |
| parent | b8a20acc472591f046f4ee95ca1d73091675330c (diff) | |
Make sure that only the owner can call [stop|start]VpnProfile()
In stopVpnProfile() & startVpnProfile, it doesn't check if the
caller's package name is the same as the given one, so any app
has chance to stop/start the VPN profile of other apps.
Bug: 191382886
Test: atest FrameworksNetTests CtsNetTestCases \
      CtsHostsideNetworkTests:HostsideVpnTests
Change-Id: Ib0a6e9ed191ff8c8bd55ce9902d894b6a339ace2
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions