mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-05 11:34:50 -04:00
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
This commit is contained in:
parent
aa15f95907
commit
9bac4ea41f
1 changed files with 1 additions and 0 deletions
|
@ -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++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue