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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sat Jul 3 13:19:40 UTC 2021


 editeng/source/rtf/svxrtf.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 35dd9c4f38dd2019e18f97d8a08ce5bb9b69a4fb
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Fri Jul 2 20:19:39 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sat Jul 3 15:19:05 2021 +0200

    ofz#24932 halve limit for fuzzing timeout
    
    Change-Id: Iafbf7e40867ada6918e6e6dc3e1588bb0a6756df
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118333
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 8bde87443c49..b57b0d0ada0f 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -635,7 +635,7 @@ SvxRTFItemStackType* SvxRTFParser::GetAttrSet_()
 
     aAttrStack.push_back( std::move(xNew) );
 
-    if (aAttrStack.size() > 1024 && utl::ConfigManager::IsFuzzing())
+    if (aAttrStack.size() > 512 && utl::ConfigManager::IsFuzzing())
         throw std::range_error("ecStackOverflow");
 
     bNewGroup = false;


More information about the Libreoffice-commits mailing list