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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Wed May 13 20:26:14 UTC 2020


 vcl/Executable_fodtfuzzer.mk |    1 -
 vcl/workben/docxfuzzer.cxx   |    5 +++++
 vcl/workben/fodtfuzzer.cxx   |    5 +++++
 vcl/workben/htmlfuzzer.cxx   |    2 ++
 4 files changed, 12 insertions(+), 1 deletion(-)

New commits:
commit 5111909cefa16a2342ac324f8b84bae845a84f46
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed May 13 14:03:14 2020 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed May 13 22:25:35 2020 +0200

    fix oss-fuzz build
    
    Change-Id: Ia04a3e9c72c9b32f895c5925937d322f8dd963ff
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94135
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/Executable_fodtfuzzer.mk b/vcl/Executable_fodtfuzzer.mk
index d4353cf123b7..c9801df6c678 100644
--- a/vcl/Executable_fodtfuzzer.mk
+++ b/vcl/Executable_fodtfuzzer.mk
@@ -19,7 +19,6 @@ $(eval $(call gb_Executable_use_api,fodtfuzzer,\
 
 $(eval $(call gb_Executable_use_externals,fodtfuzzer,\
     $(fuzzer_externals) \
-    revenge \
 ))
 
 $(eval $(call gb_Executable_set_include,fodtfuzzer,\
diff --git a/vcl/workben/docxfuzzer.cxx b/vcl/workben/docxfuzzer.cxx
index ab9b30696cad..89766618b982 100644
--- a/vcl/workben/docxfuzzer.cxx
+++ b/vcl/workben/docxfuzzer.cxx
@@ -16,6 +16,11 @@ extern "C" void* SwCreateDialogFactory()
     return nullptr;
 }
 
+extern "C" void* com_sun_star_comp_Writer_EPUBExportFilter_get_implementation()
+{
+    return nullptr;
+}
+
 extern "C" bool TestImportDOCX(SvStream &rStream);
 
 extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
diff --git a/vcl/workben/fodtfuzzer.cxx b/vcl/workben/fodtfuzzer.cxx
index e68e37bf06ab..2b110212a57e 100644
--- a/vcl/workben/fodtfuzzer.cxx
+++ b/vcl/workben/fodtfuzzer.cxx
@@ -16,6 +16,11 @@ extern "C" void* SwCreateDialogFactory()
     return nullptr;
 }
 
+extern "C" void* com_sun_star_comp_Writer_EPUBExportFilter_get_implementation()
+{
+    return nullptr;
+}
+
 extern "C" bool TestImportFODT(SvStream &rStream);
 
 extern "C" int LLVMFuzzerInitialize(int *argc, char ***argv)
diff --git a/vcl/workben/htmlfuzzer.cxx b/vcl/workben/htmlfuzzer.cxx
index 1c466fb1a3e3..fbeec9f3a4f1 100644
--- a/vcl/workben/htmlfuzzer.cxx
+++ b/vcl/workben/htmlfuzzer.cxx
@@ -13,6 +13,8 @@
 
 extern "C" void* SwCreateDialogFactory() { return nullptr; }
 
+extern "C" void* com_sun_star_comp_Writer_EPUBExportFilter_get_implementation() { return nullptr; }
+
 extern "C" bool TestImportHTML(SvStream& rStream);
 
 extern "C" int LLVMFuzzerInitialize(int* argc, char*** argv)


More information about the Libreoffice-commits mailing list