Selaa lähdekoodia

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 vuotta sitten
vanhempi
commit
8d4112711a
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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;