diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-22 12:09:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-22 15:38:13 +0200 |
commit | 4555be3b51c7f48074441ba789df31e7920aa812 (patch) | |
tree | a318378911cbb5ea620b85318db36bb90a4df543 /svx/source | |
parent | d2bf9e56310fe40eac700afa974483d704e4c70a (diff) |
ofz#36673 Indirect leak
Change-Id: I294dccbf4517ee7714ee9055953a45bdd630b5a5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120839
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/sdr/contact/viewcontactofsdrpathobj.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx index 7786c875bbde..694c3ea32947 100644 --- a/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx +++ b/svx/source/sdr/contact/viewcontactofsdrpathobj.cxx @@ -28,6 +28,7 @@ #include <sdr/primitive2d/sdrpathprimitive2d.hxx> #include <basegfx/matrix/b2dhommatrixtools.hxx> #include <basegfx/polygon/b2dpolygontools.hxx> +#include <unotools/configmgr.hxx> #include <vcl/canvastools.hxx> namespace sdr::contact @@ -97,7 +98,7 @@ namespace sdr::contact //But, see tdf#101187, only do this if our generous clip region //would not over flow into a tiny clip region - if (nPageWidth < SAL_MAX_INT32/2 && nPageHeight < SAL_MAX_INT32/2) + if (nPageWidth < SAL_MAX_INT32/2 && nPageHeight < SAL_MAX_INT32/2 && !utl::ConfigManager::IsFuzzing()) { //But, see tdf#97276, tdf#126184 and tdf#98366. Don't clip too much if the //underlying page dimension is unknown or a paste document |