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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Sep 18 15:28:45 UTC 2021


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

New commits:
commit 0685678da0994103b14b9417c52310bd40e21102
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Sep 18 14:52:51 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Sep 18 17:28:11 2021 +0200

    ofz#37911 Avoid timeout when fuzzing
    
    Change-Id: I30bdcb3c267ee7e3ee0920df03ee8507d118d009
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122301
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/lotuswordpro/source/filter/lwpcelllayout.cxx b/lotuswordpro/source/filter/lwpcelllayout.cxx
index ef39c4ae1009..cd5478e3f5cd 100644
--- a/lotuswordpro/source/filter/lwpcelllayout.cxx
+++ b/lotuswordpro/source/filter/lwpcelllayout.cxx
@@ -821,7 +821,7 @@ void LwpConnectedCellLayout::Read()
 
     m_nRealrowspan = cnumrows;
     if (utl::ConfigManager::IsFuzzing())
-        m_nRealrowspan = std::min<sal_uInt16>(m_nRealrowspan, SAL_MAX_INT16);
+        m_nRealrowspan = std::min<sal_uInt16>(m_nRealrowspan, 128);
     m_nRealcolspan = cnumcols;
 
     m_pObjStrm->SkipExtra();


More information about the Libreoffice-commits mailing list