Core/Authserver: Fix uninitialized variable, fixes changing realms after logging in to world

This commit is contained in:
Shauren
2021-09-20 22:03:21 +02:00
parent c8061d8ba6
commit 4ec52fb160

View File

@@ -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)
{