From 1b3dcb854983f8919fa3b7d17734bc1c856ec61d Mon Sep 17 00:00:00 2001 From: Shaju Mathew Date: Sun, 28 Nov 2021 19:31:16 -0800 Subject: [PATCH] Suppression of socket connect from minadbd (CL 2/2) Bug: 201308542 Test: TBD Ignore-AOSP-First: Security fix. Signed-off-by: Shaju Mathew Change-Id: I3418eddbe02eadd5fabf6a930c73edbdb98195f1 --- minadbd/minadbd.cpp | 1 + 1 file changed, 1 insertion(+) 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();