mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-21 04:44:25 -04:00
fixed uninitialized memory read in GxsTrans msg Id
This commit is contained in:
parent
6d76624e91
commit
0868b64436
3 changed files with 5 additions and 2 deletions
|
@ -87,7 +87,10 @@ bool p3GxsTrans::sendData( RsGxsTransId& mailId,
|
|||
}
|
||||
|
||||
OutgoingRecord pr( recipient, service, data, size );
|
||||
|
||||
pr.mailItem.clear();
|
||||
pr.mailItem.meta.mAuthorId = own_gxsid;
|
||||
pr.mailItem.meta.mMsgId.clear();
|
||||
pr.mailItem.cryptoType = cm;
|
||||
pr.mailItem.mailId = RSRandom::random_u64();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue