From 26103123f3464613f1266f268cb23c05ab81426c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 16 Nov 2019 20:36:24 +0000 Subject: ofz#12553 Timeout, cut out slow uninteresting path for fuzzing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iaaf940e48a54e9578c747e57f2f328c36e4a119b Reviewed-on: https://gerrit.libreoffice.org/83002 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- svx/source/table/svdotable.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'svx/source') diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index 98a093a65c1e..b6aede0dd926 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -22,6 +22,7 @@ #include #include #include +#include #include #include #include @@ -782,6 +783,8 @@ sal_Int32 SdrTableObjImpl::getRowCount() const void SdrTableObjImpl::LayoutTable( tools::Rectangle& rArea, bool bFitWidth, bool bFitHeight ) { + if (utl::ConfigManager::IsFuzzing()) + return; if(mpLayouter) { // Optimization: SdrTableObj::SetChanged() can call this very often, repeatedly -- cgit