mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-02-10 18:05:41 +08:00
Merge remote-tracking branch 'origin/hotfix/v7.4.1' into develop
This commit is contained in:
@ -1095,7 +1095,7 @@ bool ECMACryptFile::DecryptOfficeFile(const std::wstring &file_name_inp, const s
|
||||
{
|
||||
NSFile::CFileBinary f;
|
||||
f.CreateFileW(file_name_out);
|
||||
f.WriteFile(data_out, lengthData);
|
||||
f.WriteFile(data_out, (std::min)((int)lengthData, readData));
|
||||
f.CloseFile();
|
||||
|
||||
delete []data_out;
|
||||
|
||||
Reference in New Issue
Block a user