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++ )