Pārlūkot izejas kodu

HPCC-22179 Uninitialized member variable domainAuthType in espcontext

- Initialize the variable to AuthPerRequestOnly, which is also the default
  value in EspHttpBinding

Signed-off-by: mayx <yanrui.ma@lexisnexisrisk.com>
mayx 6 gadi atpakaļ
vecāks
revīzija
8d4112711a
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      esp/platform/espcontext.cpp

+ 1 - 1
esp/platform/espcontext.cpp

@@ -78,7 +78,7 @@ private:
     StringAttr  respMsg;
     StringAttr  authStatus = AUTH_STATUS_NA;
     StringAttr  authenticationMethod;
-    AuthType    domainAuthType;
+    AuthType    domainAuthType = AuthPerRequestOnly;
     AuthError   authError = EspAuthErrorNone;
 
     ESPSerializationFormat respSerializationFormat;