Skip to content
Snippets Groups Projects
Commit 07083a14 authored by cyberta's avatar cyberta
Browse files

avoid NPE in OpenVpnService

parent 197f79fa
Branches
No related tags found
No related merge requests found
...@@ -534,6 +534,11 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac ...@@ -534,6 +534,11 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac
//Debug.startMethodTracing(getExternalFilesDir(null).toString() + "/opentun.trace", 40* 1024 * 1024); //Debug.startMethodTracing(getExternalFilesDir(null).toString() + "/opentun.trace", 40* 1024 * 1024);
if (mProfile == null) {
VpnStatus.logError("Refusing to open tun device without profile.");
return null;
}
Builder builder = new Builder(); Builder builder = new Builder();
VpnStatus.logInfo(R.string.last_openvpn_tun_config); VpnStatus.logInfo(R.string.last_openvpn_tun_config);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment