[Libreoffice-commits] core.git: vcl/workben

Caolán McNamara caolanm at redhat.com
Tue Dec 6 11:34:48 UTC 2016


 vcl/workben/wmffuzzer.cxx |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

New commits:
commit 421d5e0c61640ab56e67fc0ddbfe67de4332ce8e
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Dec 6 11:32:12 2016 +0000

    we the fuzzers headless of course
    
    Change-Id: Ib5d2ace4501840e554c03a6f6c1506ceb920039c

diff --git a/vcl/workben/wmffuzzer.cxx b/vcl/workben/wmffuzzer.cxx
index e685465..ac834cc 100644
--- a/vcl/workben/wmffuzzer.cxx
+++ b/vcl/workben/wmffuzzer.cxx
@@ -19,7 +19,7 @@
 #include <vcl/svapp.hxx>
 #include <vcl/wmf.hxx>
 #include <unistd.h>
-#include <signal.h>
+#include <stdlib.h>
 
 using namespace ::com::sun::star::uno;
 using namespace ::com::sun::star::lang;
@@ -27,6 +27,8 @@ using namespace cppu;
 
 extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
 {
+    setenv("SAL_USE_VCLPLUGIN", "svp", 1);
+
     osl_setCommandArgs(*argc, *argv);
 
     tools::extendApplicationEnvironment();


More information about the Libreoffice-commits mailing list