Kaydet (Commit) 5fe78182 authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#4526 Null-reference READ with openssl crypto backend

which is not the default backend

Change-Id: I982e1b61c10efbe3312d68d90d48292a9b6cca0d
Reviewed-on: https://gerrit.libreoffice.org/45794Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst bfd613a4
......@@ -124,6 +124,8 @@ bool Standard2007Engine::generateEncryptionKey(const OUString& password)
{
mKey.clear();
mKey.resize(mInfo.header.keyBits / 8, 0);
if (mKey.empty())
return false;
calculateEncryptionKey(password);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment