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

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Sun Mar 28 19:32:32 UTC 2021


 vcl/workben/fodpfuzzer.cxx |   25 +++++++++++++++++++++++++
 vcl/workben/pptxfuzzer.cxx |   10 ++++++++++
 2 files changed, 35 insertions(+)

New commits:
commit ecb3be65817c018800355310ba8a88c1227c86e4
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sun Mar 28 20:29:09 2021 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Mar 28 21:31:49 2021 +0200

    oss-fuzz: stub out new entry points
    
    needed since...
    
    commit 3dba2e4a325fa0fdfbbedb0ffc1fcf678bfcbc94
    Date:   Thu Mar 25 12:23:43 2021 +0200
    
        Include the pdfimport library constructor in the mobile apps if enabled
    
    Change-Id: I758d60049af6c3e98af5890185ddb4f77edbe8fb
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113262
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/workben/fodpfuzzer.cxx b/vcl/workben/fodpfuzzer.cxx
index 603849742783..b51efac1c631 100644
--- a/vcl/workben/fodpfuzzer.cxx
+++ b/vcl/workben/fodpfuzzer.cxx
@@ -29,6 +29,31 @@ extern "C" void* com_sun_star_comp_Draw_VisioImportFilter_get_implementation()
     return nullptr;
 }
 
+extern "C" void* sdext_PDFIHybridAdaptor_get_implementation()
+{
+    return nullptr;
+}
+
+extern "C" void* sdext_PDFIRawAdaptor_Writer_get_implementation()
+{
+    return nullptr;
+}
+
+extern "C" void* sdext_PDFIRawAdaptor_Draw_get_implementation()
+{
+    return nullptr;
+}
+
+extern "C" void* sdext_PDFIRawAdaptor_Impress_get_implementation()
+{
+    return nullptr;
+}
+
+extern "C" void* sdext_PDFDetector_get_implementation()
+{
+    return nullptr;
+}
+
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
 {
     SvMemoryStream aStream(const_cast<uint8_t*>(data), size, StreamMode::READ);
diff --git a/vcl/workben/pptxfuzzer.cxx b/vcl/workben/pptxfuzzer.cxx
index 976b53d9ba1c..33c6952ec860 100644
--- a/vcl/workben/pptxfuzzer.cxx
+++ b/vcl/workben/pptxfuzzer.cxx
@@ -23,6 +23,16 @@ extern "C" void* SdCreateDialogFactory() { return nullptr; }
 
 extern "C" void* com_sun_star_comp_Draw_VisioImportFilter_get_implementation() { return nullptr; }
 
+extern "C" void* sdext_PDFIHybridAdaptor_get_implementation() { return nullptr; }
+
+extern "C" void* sdext_PDFIRawAdaptor_Writer_get_implementation() { return nullptr; }
+
+extern "C" void* sdext_PDFIRawAdaptor_Draw_get_implementation() { return nullptr; }
+
+extern "C" void* sdext_PDFIRawAdaptor_Impress_get_implementation() { return nullptr; }
+
+extern "C" void* sdext_PDFDetector_get_implementation() { return nullptr; }
+
 extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size)
 {
     SvMemoryStream aStream(const_cast<uint8_t*>(data), size, StreamMode::READ);


More information about the Libreoffice-commits mailing list