summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/filter/png/pngread.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/source/filter/png/pngread.cxx b/vcl/source/filter/png/pngread.cxx
index 286b2680d1df..aa452bf51a01 100644
--- a/vcl/source/filter/png/pngread.cxx
+++ b/vcl/source/filter/png/pngread.cxx
@@ -867,6 +867,9 @@ void PNGReaderImpl::ImplGetBackground()
sal_uInt8 nRed = ImplScaleColor();
sal_uInt8 nGreen = ImplScaleColor();
sal_uInt8 nBlue = ImplScaleColor();
+ // ofz#18653 slow and uninteresting
+ if (!utl::ConfigManager::IsFuzzing())
+ return;
mxAcc->Erase(Color(nRed, nGreen, nBlue));
}
}