aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2021-09-20 22:03:21 +0200
committerShauren <shauren.trinity@gmail.com>2021-09-20 22:03:21 +0200
commit4ec52fb160c9bd5ab43a305756e4e4066c857994 (patch)
tree67aa7e11e451554c50242c99bfa6373d9219ce95 /src/server/authserver/Server/AuthSession.cpp
parentc8061d8ba620e78c1344ad5f2d476d7d6e5057cb (diff)
Core/Authserver: Fix uninitialized variable, fixes changing realms after logging in to world
Diffstat (limited to 'src/server/authserver/Server/AuthSession.cpp')
-rw-r--r--src/server/authserver/Server/AuthSession.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/authserver/Server/AuthSession.cpp b/src/server/authserver/Server/AuthSession.cpp
index bc90743a771..dd7390da085 100644
--- a/src/server/authserver/Server/AuthSession.cpp
+++ b/src/server/authserver/Server/AuthSession.cpp
@@ -832,7 +832,7 @@ bool AuthSession::VerifyVersion(uint8 const* a, int32 aLength, Trinity::Crypto::
if (!sConfigMgr->GetBoolDefault("StrictVersionCheck", false))
return true;
- Trinity::Crypto::SHA1::Digest zeros;
+ Trinity::Crypto::SHA1::Digest zeros = { };
Trinity::Crypto::SHA1::Digest const* versionHash = nullptr;
if (!isReconnect)
{