Kaydet (Commit) 0df16daf authored tarafından Caolán McNamara's avatar Caolán McNamara

ofz#2410 avoid oom

Change-Id: If9f5ed5c9b229eab7779b2e07bd33c8094510c36
Reviewed-on: https://gerrit.libreoffice.org/39655Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 661fa18d
...@@ -5850,7 +5850,7 @@ void SvxMSDffManager::GetCtrlData(sal_uInt32 nOffsDggL) ...@@ -5850,7 +5850,7 @@ void SvxMSDffManager::GetCtrlData(sal_uInt32 nOffsDggL)
unsigned long nDrawingContainerId = 1; unsigned long nDrawingContainerId = 1;
do do
{ {
if (nPos != rStCtrl.Seek(nPos)) if (!checkSeek(rStCtrl, nPos))
break; break;
bOk = ReadCommonRecordHeader( rStCtrl, nVer, nInst, nFbt, nLength ) && ( DFF_msofbtDgContainer == nFbt ); bOk = ReadCommonRecordHeader( rStCtrl, nVer, nInst, nFbt, nLength ) && ( DFF_msofbtDgContainer == nFbt );
......
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