summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2020-02-20 15:31:19 +0100
committerMiklos Vajna <vmiklos@collabora.com>2020-02-20 18:03:10 +0100
commitd8e6fa411cf4e1e14665456ec172a1837a43a4a9 (patch)
tree11eacb6062172bdf7760707ea52d5891d3a0b21b
parenta75c8f3e71e5df6fb545441cfb05aeb9a97d86ac (diff)
fuzzer: fix this up so it works again
After fixing this single assertion failure, the ./loolwsd_fuzzer --config-file=loolwsd.xml --o:storage.filesystem[@allow]=true --o:logging.level=fatal invocation works. (It does not really fuzz anything, but it's a single unpriviliged process at least.) Change-Id: I45f877e5eb023e3ddfc96a7373c6300e4bb77962 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89115 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
-rw-r--r--common/Unit.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Unit.hpp b/common/Unit.hpp
index c403100c2..3e75f8b24 100644
--- a/common/Unit.hpp
+++ b/common/Unit.hpp
@@ -270,7 +270,7 @@ public:
static UnitKit& get()
{
assert(Global);
-#if !MOBILEAPP
+#if !MOBILEAPP && !defined(KIT_IN_PROCESS)
assert(Global->_type == UnitType::Kit);
#endif
return *static_cast<UnitKit *>(Global);