From a4e88fa2610da732ea1125b1ed970baed6d286bb Mon Sep 17 00:00:00 2001 From: lloyd Date: Fri, 15 May 2015 03:31:56 +0000 Subject: Fix various bugs found by Coverity scanner. Uninitialized variables, missing divide by zero checks, missing virtual destructor, etc. Only thing serious is bug in TLS maximum fragment decoder; missing breaks in switch statement meant receiver would treat any negotiated max frament as 4k limit. --- src/lib/misc/srp6/srp6.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/misc/srp6/srp6.h') diff --git a/src/lib/misc/srp6/srp6.h b/src/lib/misc/srp6/srp6.h index 3eb21b742..5db433ad6 100644 --- a/src/lib/misc/srp6/srp6.h +++ b/src/lib/misc/srp6/srp6.h @@ -89,7 +89,7 @@ class BOTAN_DLL SRP6_Server_Session private: std::string m_hash_id; BigInt m_B, m_b, m_v, m_S, m_p; - size_t m_p_bytes; + size_t m_p_bytes = 0; }; } -- cgit v1.2.3