Core/Misc: Another batch of fixes for issues found by static analysis

This commit is contained in:
Spp committed 2013-05-30 13:18:29 +02:00
1 parent 782ea4309a
commit 9664c0ab5c
14 files changed
+130 -96

No files matched your search

+3 -3
View File
@@ -196,12 +196,12 @@ const AuthHandler table[] =
Patcher PatchesCache;
// Constructor - set the N and g values for SRP6
AuthSocket::AuthSocket(RealmSocket& socket) : pPatch(NULL), socket_(socket)
AuthSocket::AuthSocket(RealmSocket& socket) :
pPatch(NULL), socket_(socket), _authed(false), _build(0),
_expversion(0), _accountSecurityLevel(SEC_PLAYER)
{
N.SetHexStr("894B645E89E1535BBDAD5B8B290650530801B18EBFBF5E8FAB3C82872A3E9BB7");
g.SetDword(7);
_authed = false;
_accountSecurityLevel = SEC_PLAYER;
}
// Close patch file descriptor before leaving