svx/source/engine3d/obj3d.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit a6bb3eb13a6e28fd1efa2b98b18560f11f21afde Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Sun Aug 14 16:41:26 2022 +0100 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Sun Aug 14 18:52:46 2022 +0200
ofz#49750 Timeout 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 <caol...@redhat.com> 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);