mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-11 17:04:31 -05: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
@ -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…
Reference in New Issue
Block a user