ofz#2881 avoid oom
Change-Id: I1fa816bac5563503b9a4cc142bf3ec5d35ef0fbd Reviewed-on: https://gerrit.libreoffice.org/42536 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
@@ -331,7 +331,7 @@ bool ImplSdPPTImport::Import()
|
||||
break;
|
||||
}
|
||||
auto nPos = aPropItem.Tell() + nTemp;
|
||||
if (nPos != aPropItem.Seek(nPos))
|
||||
if (!checkSeek(aPropItem, nPos))
|
||||
{
|
||||
bVecOk = false;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user