mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-28 20:12:21 -05:00
added random string to tmp-file path to avoid collisions during simultaneous uploads from multiple devices
This commit is contained in:
parent
736bbd5ec3
commit
3c349f68bc
@ -71,7 +71,7 @@ namespace KeePassLib.Serialization
|
|||||||
if(m_bTransacted)
|
if(m_bTransacted)
|
||||||
{
|
{
|
||||||
m_iocTemp = m_iocBase.CloneDeep();
|
m_iocTemp = m_iocBase.CloneDeep();
|
||||||
m_iocTemp.Path += StrTempSuffix;
|
m_iocTemp.Path += "."+new PwUuid(true).ToHexString().Substring(0,6)+ StrTempSuffix;
|
||||||
}
|
}
|
||||||
else m_iocTemp = m_iocBase;
|
else m_iocTemp = m_iocBase;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user