aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaju Mathew <shaju@google.com>2021-11-28 19:31:16 -0800
committerElliott Hughes <enh@google.com>2021-12-14 18:36:13 +0000
commit1b3dcb854983f8919fa3b7d17734bc1c856ec61d (patch)
tree67fc8c231fa2e06aaa73d658a3873ab1f5dc0170
parent27b4deb65933b5dadc3cd0c39c597777bb07a625 (diff)
downloadrecovery-android12L-dev.tar.gz
Suppression of socket connect from minadbd (CL 2/2)android12L-dev
Bug: 201308542 Test: TBD Ignore-AOSP-First: Security fix. Signed-off-by: Shaju Mathew <shaju@google.com> Change-Id: I3418eddbe02eadd5fabf6a930c73edbdb98195f1
-rw-r--r--minadbd/minadbd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/minadbd/minadbd.cpp b/minadbd/minadbd.cpp
index 7b82faa0..1df342c8 100644
--- a/minadbd/minadbd.cpp
+++ b/minadbd/minadbd.cpp
@@ -64,6 +64,7 @@ int main(int argc, char** argv) {
// We can't require authentication for sideloading. http://b/22025550.
auth_required = false;
+ socket_access_allowed = false;
init_transport_registration();
usb_init();