[Libreoffice-commits] online.git: common/Unit.hpp

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Feb 20 17:03:28 UTC 2020


 common/Unit.hpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d8e6fa411cf4e1e14665456ec172a1837a43a4a9
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Feb 20 15:31:19 2020 +0100
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Feb 20 18:03:10 2020 +0100

    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 at gmail.com>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

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);


More information about the Libreoffice-commits mailing list