[Libreoffice-commits] core.git: vcl/workben
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Apr 1 11:39:10 UTC 2021
vcl/workben/commonfuzzer.hxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 5f762b34bb1f93aeb409060d74b8e38ab75a8732
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Thu Apr 1 12:29:13 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Thu Apr 1 13:38:19 2021 +0200
ReleaseSolarMutex before possible afl fork
Change-Id: I2b5dfed215cb07454319b7e20068cbc8fba39c75
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113450
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/workben/commonfuzzer.hxx b/vcl/workben/commonfuzzer.hxx
index aa544e394549..6a5aa079a2a3 100644
--- a/vcl/workben/commonfuzzer.hxx
+++ b/vcl/workben/commonfuzzer.hxx
@@ -128,6 +128,14 @@ void CommonInitialize(int *argc, char ***argv)
psp::PrintFontManager::get();
//get the printer info
Printer::GetPrinterQueues();
+
+ //https://github.com/google/oss-fuzz/issues/1449
+ //https://github.com/google/oss-fuzz/issues/5441
+ //release the solarmutex so a fork can acquire it which should
+ //allow these fuzzers to work without AFL_DRIVER_DONT_DEFER set
+ //removing the confusion of #5441 and the need for AFL_DRIVER_DONT_DEFER
+ //in .options files
+ Application::ReleaseSolarMutex();
}
void TypicalFuzzerInitialize(int *argc, char ***argv)
More information about the Libreoffice-commits
mailing list