From a6bb3eb13a6e28fd1efa2b98b18560f11f21afde Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 14 Aug 2022 16:41:26 +0100 Subject: ofz#49750 Timeout MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit skip slow path on fuzzing Change-Id: Idc27574ed7607011491248e726c1ba4bce9d483b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/138253 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- svx/source/engine3d/obj3d.cxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'svx/source') diff --git a/svx/source/engine3d/obj3d.cxx b/svx/source/engine3d/obj3d.cxx index 692e3d757f53..613e3e93fa83 100644 --- a/svx/source/engine3d/obj3d.cxx +++ b/svx/source/engine3d/obj3d.cxx @@ -549,6 +549,9 @@ SdrObjKind E3dCompoundObject::GetObjIdentifier() const void E3dCompoundObject::RecalcSnapRect() { + if (utl::ConfigManager::IsFuzzing()) // skip slow path for fuzzing + return; + const uno::Sequence< beans::PropertyValue > aEmptyParameters; drawinglayer::geometry::ViewInformation3D aViewInfo3D(aEmptyParameters); E3dScene* pRootScene = fillViewInformation3DForCompoundObject(aViewInfo3D, *this); -- cgit