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.mcnamara@collabora.com>
This commit is contained in:
Caolán McNamara 2023-10-21 16:15:53 +01:00
parent a8c30238bc
commit dffe85aaf3

View file

@ -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;