summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-06-28 17:02:59 +0100
committerCaolán McNamara <caolanm@redhat.com>2022-06-28 20:36:21 +0200
commiteb9ba4cdff002b95597fd1bdf6c89b9fd4d10ef9 (patch)
tree22e89ceeaaf083336bb94d79d0bb33aa7da8d293
parentofz: Direct-leak (diff)
downloadcore-eb9ba4cdff002b95597fd1bdf6c89b9fd4d10ef9.tar.gz
core-eb9ba4cdff002b95597fd1bdf6c89b9fd4d10ef9.zip
ofz: Out-of-memory
Change-Id: Iac52602b0c5f808b384896963c42c4f9dd31519e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136582 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r--vcl/headless/CairoCommon.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/CairoCommon.cxx b/vcl/headless/CairoCommon.cxx
index 1888989b130b..df4dae90778f 100644
--- a/vcl/headless/CairoCommon.cxx
+++ b/vcl/headless/CairoCommon.cxx
@@ -707,7 +707,7 @@ bool CairoCommon::drawPolyLine(cairo_t* cr, basegfx::B2DRange* pExtents, const C
cairo_set_line_join(cr, eCairoLineJoin);
cairo_set_line_cap(cr, eCairoLineCap);
- constexpr int MaxNormalLineWidth = 4096;
+ constexpr int MaxNormalLineWidth = 2048;
if (fLineWidth > MaxNormalLineWidth)
{
SAL_WARN("vcl.gdi", "drawPolyLine, suspicious line width of: " << fLineWidth);