[Libreoffice-commits] core.git: filter/source

Caolán McNamara caolanm at redhat.com
Thu Jul 6 15:21:15 UTC 2017


 filter/source/msfilter/msdffimp.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0df16daf54696731cb3796faf0091fdfc96b65be
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Jul 6 14:11:47 2017 +0100

    ofz#2410 avoid oom
    
    Change-Id: If9f5ed5c9b229eab7779b2e07bd33c8094510c36
    Reviewed-on: https://gerrit.libreoffice.org/39655
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 6cce2634a9d3..7ab792511e83 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -5850,7 +5850,7 @@ void SvxMSDffManager::GetCtrlData(sal_uInt32 nOffsDggL)
         unsigned long nDrawingContainerId = 1;
         do
         {
-            if (nPos != rStCtrl.Seek(nPos))
+            if (!checkSeek(rStCtrl, nPos))
                 break;
 
             bOk = ReadCommonRecordHeader( rStCtrl, nVer, nInst, nFbt, nLength ) && ( DFF_msofbtDgContainer == nFbt );


More information about the Libreoffice-commits mailing list