From e7e4a776ed39b8daee84acfe2899d2b6051c44f4 Mon Sep 17 00:00:00 2001 From: AlexPeshkoff Date: Thu, 5 Oct 2023 15:59:37 +0300 Subject: [PATCH] Minor security measure - avoid sending of authentication block over the wire (from ExtDS) --- src/remote/client/interface.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/remote/client/interface.cpp b/src/remote/client/interface.cpp index e482eb81ee..ac34c7c738 100644 --- a/src/remote/client/interface.cpp +++ b/src/remote/client/interface.cpp @@ -7389,6 +7389,7 @@ static rem_port* analyze(ClntAuthBlock& cBlock, PathName& attach_name, unsigned int inet_af = AF_UNSPEC; cBlock.loadClnt(pb, &parSet); + pb.deleteWithTag(parSet.auth_block); authenticateStep0(cBlock); bool needFile = !(flags & ANALYZE_EMP_NAME);