From dffe85aaf3443ab2286eb9990c1c7faa692ec96f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Sat, 21 Oct 2023 16:15:53 +0100 Subject: [PATCH] ofz#63406 Timeouts with huge fonts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- editeng/source/items/textitem.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;