summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-14 16:00:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-14 19:50:06 +0200
commitaefeac247f9b201f1a28a8256421b3dacebafdd3 (patch)
tree33e4b3dbfaef20c6844467a8b97ecae9ee9004a9 /vcl
parentd2b88e12cbe83732b81ee9e133ee96f3295e9d11 (diff)
ofz#3634: add a SC_MAX_MATRIX_ELEMENTS to limit max matrix elements
Change-Id: Ib2b1a36d56cc8ac63cf28a18fa20ad2f075dcf21 Reviewed-on: https://gerrit.libreoffice.org/43394 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/workben/commonfuzzer.hxx1
-rw-r--r--vcl/workben/fftester.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index f1079ce7621c..054ea00bfb51 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -79,6 +79,7 @@ void CommonInitialize(int *argc, char ***argv)
{
setenv("SAL_USE_VCLPLUGIN", "svp", 1);
setenv("JPEGMEM", "768M", 1);
+ setenv("SC_MAX_MATRIX_ELEMENTS", "60000000", 1);
setenv("SAL_WMF_COMPLEXCLIP_VIA_REGION", "1", 1);
setenv("SAL_DISABLE_PRINTERLIST", "1", 1);
setenv("SAL_DISABLE_DEFAULTPRINTER", "1", 1);
diff --git a/vcl/workben/fftester.cxx b/vcl/workben/fftester.cxx
index 581541da7565..a39e3ddc9f2e 100644
--- a/vcl/workben/fftester.cxx
+++ b/vcl/workben/fftester.cxx
@@ -89,6 +89,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv)
setenv("SAL_USE_VCLPLUGIN", "svp", 1);
setenv("JPEGMEM", "768M", 1);
+ setenv("SC_MAX_MATRIX_ELEMENTS", "60000000", 1);
setenv("SAL_WMF_COMPLEXCLIP_VIA_REGION", "1", 1);
setenv("SAL_DISABLE_PRINTERLIST", "1", 1);
setenv("SAL_DISABLE_DEFAULTPRINTER", "1", 1);