mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-26 07:16:11 -05:00
removed potential uninitialized memory read in TlvKey item.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7054 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
fd682ed23d
commit
f198f9c784
@ -380,7 +380,7 @@ std::ostream &RsTlvSecurityKeySet::print(std::ostream &out, uint16_t indent)
|
||||
RsTlvKeySignature::RsTlvKeySignature()
|
||||
:RsTlvItem(), signData(TLV_TYPE_SIGN_RSA_SHA1)
|
||||
{
|
||||
return;
|
||||
ShallowClear() ; // avoids uninitialized memory if the fields are not initialized.
|
||||
}
|
||||
|
||||
void RsTlvKeySignature::TlvClear()
|
||||
|
Loading…
x
Reference in New Issue
Block a user