mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
fixed uninitialised memory read
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7295 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
9beb33f172
commit
ac7f505efc
1 changed files with 2 additions and 2 deletions
|
@ -145,8 +145,8 @@ HashCache::HashCache(const std::string& path)
|
|||
}
|
||||
fclose(F) ;
|
||||
|
||||
void *decrypted_data ;
|
||||
int decrypted_data_size ;
|
||||
void *decrypted_data =NULL;
|
||||
int decrypted_data_size =0;
|
||||
|
||||
if(!AuthSSL::getAuthSSL()->decrypt(decrypted_data, decrypted_data_size, buffer, file_size))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue