diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-11-06 12:31:14 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-11-06 14:15:25 +0100 |
commit | 64f42fe944cff92353c6900f813114ae41d132aa (patch) | |
tree | 3cdc295367a72876cccc7e3c905cabc9f9775b7d /hwpfilter | |
parent | b53a0e3dc206b4cec57f142080573d8d165c4035 (diff) |
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>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/hwpreader.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hwpfilter/source/hwpreader.cxx b/hwpfilter/source/hwpreader.cxx index 8ac31e29caa8..5db11d92b848 100644 --- a/hwpfilter/source/hwpreader.cxx +++ b/hwpfilter/source/hwpreader.cxx @@ -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++ ) |