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

New commits:
commit dffe85aaf3443ab2286eb9990c1c7faa692ec96f
Author:     Caolán McNamara <caolan.mcnam...@collabora.com>
AuthorDate: Sat Oct 21 16:15:53 2023 +0100
Commit:     Caolán McNamara <caolan.mcnam...@collabora.com>
CommitDate: Sat Oct 21 20:45:33 2023 +0200

    ofz#63406 Timeouts with huge fonts
    
    reduce limit further when fuzzing
    
    Change-Id: I66345f78a5375a6415f0b25ba736c41fd27ce8d9
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158308
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caolan.mcnam...@collabora.com>

diff --git a/editeng/source/items/textitem.cxx 
b/editeng/source/items/textitem.cxx
index 813f907fb784..cac394c119c4 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -813,7 +813,7 @@ bool SvxFontHeightItem::PutValue( const uno::Any& rVal, 
sal_uInt8 nMemberId )
             if (fPoint < 0. || fPoint > 10000.)
                 return false;
             static bool bFuzzing = utl::ConfigManager::IsFuzzing();
-            if (bFuzzing && fPoint > 500)
+            if (bFuzzing && fPoint > 240)
             {
                 SAL_WARN("editeng.items", "SvxFontHeightItem ignoring font 
size of " << fPoint << " for performance");
                 return false;

Reply via email to