ofz#52490 Timeout

Change-Id: I0aa462bea2975e6532dc3cd4b2f088d5dde8852f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142352
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
This commit is contained in:
Caolán McNamara 2022-11-06 12:31:14 +00:00
parent b53a0e3dc2
commit 64f42fe944

View file

@ -958,10 +958,10 @@ void HwpReader::makeMasterStyles()
PageSetting *pPrevSet = nullptr;
PageSetting *pPage = nullptr;
if (nMax > 2048 && utl::ConfigManager::IsFuzzing())
if (nMax > 512 && utl::ConfigManager::IsFuzzing())
{
SAL_WARN("filter.hwp", "too many pages: " << nMax << " clip to " << 2048);
nMax = 2048;
SAL_WARN("filter.hwp", "too many pages: " << nMax << " clip to " << 512);
nMax = 512;
}
for( i = 1; i <= nMax ; i++ )