aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver/Server/AuthSession.h
diff options
context:
space:
mode:
authorGiacomo Pozzoni <giacomopoz@gmail.com>2021-01-24 16:04:47 +0100
committerGitHub <noreply@github.com>2021-01-24 16:04:47 +0100
commit661f554b9e08a3721227f1e4a4fe6fd74e43a1f4 (patch)
tree16caa4dab3e052ba563212b4f8ef4bdf4af7b5fc /src/server/authserver/Server/AuthSession.h
parent62320b1efab3a050cf2187490b59234a037c69c8 (diff)
Core/Misc: Fix static analysis issues (#25924)
* Core/Misc: Fix static analysis issues * Fix infinite loop in ".debug send opcode" Fix using uninitialized memory in ".debug send opcode"
Diffstat (limited to 'src/server/authserver/Server/AuthSession.h')
-rw-r--r--src/server/authserver/Server/AuthSession.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/authserver/Server/AuthSession.h b/src/server/authserver/Server/AuthSession.h
index cd757371421..71af8272501 100644
--- a/src/server/authserver/Server/AuthSession.h
+++ b/src/server/authserver/Server/AuthSession.h
@@ -92,8 +92,8 @@ private:
bool VerifyVersion(uint8 const* a, int32 aLength, Trinity::Crypto::SHA1::Digest const& versionProof, bool isReconnect);
Optional<Trinity::Crypto::SRP6> _srp6;
- SessionKey _sessionKey;
- std::array<uint8, 16> _reconnectProof;
+ SessionKey _sessionKey = {};
+ std::array<uint8, 16> _reconnectProof = {};
AuthStatus _status;
AccountInfo _accountInfo;