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

Caolán McNamara caolanm at redhat.com
Tue Sep 26 09:21:16 UTC 2017


 sd/source/filter/xml/sdxmlwrp.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit cae335091776738fdb2dfb295033803279d30409
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Sep 26 10:20:11 2017 +0100

    oom in fodpfuzzer
    
    Change-Id: Iba6ce63f21f9dfe7187eea81c6d76fad12ccc498

diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 4370f37b3828..b9222c679ffa 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -1049,6 +1049,8 @@ extern "C" SAL_DLLPUBLIC_EXPORT bool SAL_CALL TestImportFODP(SvStream &rStream)
     bool ret = xFilter->filter(aArgs);
     xDocSh->SetLoading(SfxLoadedFlags::ALL);
 
+    xDocSh->DoClose();
+
     return ret;
 }
 


More information about the Libreoffice-commits mailing list