From a4e72da5268555aa4f15a7622fdfd31decdc461b Mon Sep 17 00:00:00 2001 From: thunder2 Date: Mon, 15 Jun 2015 09:04:26 +0000 Subject: [PATCH] Fixed commit 8448. Initialized the the member aes_key of DistantChatPeerInfo with memset. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8462 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/chat/distantchat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretroshare/src/chat/distantchat.h b/libretroshare/src/chat/distantchat.h index 7fd74617a..04d3f2817 100644 --- a/libretroshare/src/chat/distantchat.h +++ b/libretroshare/src/chat/distantchat.h @@ -67,7 +67,7 @@ private: public: DistantChatPeerInfo() : last_contact(0), last_keep_alive_sent(0), status(0), direction(0) { - *aes_key = 0; + memset(aes_key, 0, DISTANT_CHAT_AES_KEY_SIZE); } time_t last_contact ; // used to keep track of working connexion