fixed uninitialized memory read in GxsTrans msg Id

This commit is contained in:
csoler 2017-05-28 22:49:07 +02:00
parent 6d76624e91
commit 0868b64436
3 changed files with 5 additions and 2 deletions

View file

@ -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();