summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-18 19:37:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-18 21:46:02 +0200
commit559850da1f48fd7ea521c78a1867255212f7aee9 (patch)
tree03afc508e65368d529a530e85afeef1a09b07f61 /editeng
parent8d8d25f5ddbe42fc5a3647ff0ad31e93311b9ed5 (diff)
ofz#24932 Avoid timeout
Change-Id: I0bcd5490c05a28971f130b387bdc8bcd781ad441 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122304 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/rtf/svxrtf.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/rtf/svxrtf.cxx b/editeng/source/rtf/svxrtf.cxx
index 6b878cca119c..8416aa0ae6db 100644
--- a/editeng/source/rtf/svxrtf.cxx
+++ b/editeng/source/rtf/svxrtf.cxx
@@ -632,7 +632,7 @@ SvxRTFItemStackType* SvxRTFParser::GetAttrSet_()
aAttrStack.push_back( std::move(xNew) );
- if (aAttrStack.size() > 512 && utl::ConfigManager::IsFuzzing())
+ if (aAttrStack.size() > 256 && utl::ConfigManager::IsFuzzing())
throw std::range_error("ecStackOverflow");
bNewGroup = false;