diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-09-20 22:03:21 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-09-20 22:03:21 +0200 |
commit | 4ec52fb160c9bd5ab43a305756e4e4066c857994 (patch) | |
tree | 67aa7e11e451554c50242c99bfa6373d9219ce95 /src/server/authserver/Server/AuthSession.cpp | |
parent | c8061d8ba620e78c1344ad5f2d476d7d6e5057cb (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.cpp | 2 |
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) { |