From 9bac4ea41f674bf6c36187167f2785fcf216f032 Mon Sep 17 00:00:00 2001 From: csoler Date: Wed, 16 Jun 2010 18:59:28 +0000 Subject: [PATCH] removed uninitialized memory read git-svn-id: http://svn.code.sf.net/p/retroshare/code/branches/v0.5.0@3149 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/pqi/authgpg.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libretroshare/src/pqi/authgpg.cc b/libretroshare/src/pqi/authgpg.cc index 331384979..541542775 100644 --- a/libretroshare/src/pqi/authgpg.cc +++ b/libretroshare/src/pqi/authgpg.cc @@ -1249,6 +1249,7 @@ bool AuthGPG::LoadCertificateFromString(std::string str, std::string &gpg_id) } //retrieve the id of the key certmap::iterator it; + gpg_id = "" ; RsStackReadWriteMutex stack(pgpMtx, RsReadWriteMutex::READ_LOCK); /******* LOCKED ******/ for(it = mKeyList.begin(); it != mKeyList.end(); it++) {