summaryrefslogtreecommitdiffhomepage
path: root/ci/ci-rust-script.sh
diff options
context:
space:
mode:
authorEmīls <pinkisemils@mullvad.net>2020-02-12 17:05:26 +0000
committerEmīls <pinkisemils@mullvad.net>2020-02-14 11:49:32 +0000
commit110c90164905911e7125e126b3e1837c50994026 (patch)
treed162af7c885a19a6dbab3a704f122d9302608c31 /ci/ci-rust-script.sh
parent879fd9a8732311c30d4e69a21e73493b117ce680 (diff)
downloadmullvadvpn-110c90164905911e7125e126b3e1837c50994026.tar.xz
mullvadvpn-110c90164905911e7125e126b3e1837c50994026.zip
Check if returned tunnel is null
If the daemon tries to connect when our service has had it's permissions revoked on Android, VpnServiceBuilder.establish() will return a null poitner, which has to be checked for. By returning an error when this happens, the daemon ends up in the error state where it's not blocking. Whilst not ideal, this is preferrable to the crash.
Diffstat (limited to 'ci/ci-rust-script.sh')
0 files changed, 0 insertions, 0 deletions