mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -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
@ -145,8 +145,8 @@ HashCache::HashCache(const std::string& path)
|
|||||||
}
|
}
|
||||||
fclose(F) ;
|
fclose(F) ;
|
||||||
|
|
||||||
void *decrypted_data ;
|
void *decrypted_data =NULL;
|
||||||
int decrypted_data_size ;
|
int decrypted_data_size =0;
|
||||||
|
|
||||||
if(!AuthSSL::getAuthSSL()->decrypt(decrypted_data, decrypted_data_size, buffer, file_size))
|
if(!AuthSSL::getAuthSSL()->decrypt(decrypted_data, decrypted_data_size, buffer, file_size))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user