Преглед изворни кода

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 година
родитељ
комит
8d4112711a
1 измењених фајлова са 1 додато и 1 уклоњено
  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;