From 4ec52fb160c9bd5ab43a305756e4e4066c857994 Mon Sep 17 00:00:00 2001 From: Shauren Date: Mon, 20 Sep 2021 22:03:21 +0200 Subject: Core/Authserver: Fix uninitialized variable, fixes changing realms after logging in to world --- src/server/authserver/Server/AuthSession.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/authserver/Server/AuthSession.cpp') 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) { -- cgit v1.2.3