libreoffice-online/fuzzer/admin-data
Miklos Vajna 89f080ba45 wsd: check for nullptr channel in AdminSocketHandler
This can happen like this:

    #8 0x7f14fdf4ec86 in std::terminate() (/usr/lib64/libstdc++.so.6+0xb7c86) (BuildId: c74eca671e2dd0f063706372d103f8acef88f1e3)
    #9 0x7f14fdf4eee7 in __cxa_throw (/usr/lib64/libstdc++.so.6+0xb7ee7) (BuildId: c74eca671e2dd0f063706372d103f8acef88f1e3)
    #10 0x55ddc5b906d2 in Poco::AutoPtr<Poco::Channel>::operator->() /usr/include/Poco/AutoPtr.h:232:4
    #11 0x55ddc5b7eb07 in AdminSocketHandler::handleMessage(std::vector<char, std::allocator<char>> const&) /home/vmiklos/git/collaboraonline/online-fuzz/wsd/Admin.cpp:236:13

Note how LOG_ANY() assumes that Log::logger().getChannel() is not
nullptr (so the caller has to check for it), while the more typical
variants with a log level like LOG_TRC() already do a similar check via
LOG_CONDITIONAL().

Signed-off-by: Miklos Vajna <vmiklos@collabora.com>
Change-Id: I5e1379f33e6640fd07de673ef0d07b1d4d611c89
2023-12-01 15:35:39 +00:00
..
crash-00efc256446b2866e6fdec23e04dc28fcc3b1e6c
crash-3e729b034ae3b48571e0765b3f78f2560d3f260a
crash-4e217e0c18bc938cbe7b4c7eeec25208c09b0f56
crash-6ba2f7189a6447cd0cce37cfa1c41ded6244dc2f
crash-35787a543dea30584d8a3f2fa743c2153f1a126f
crash-b2410495ffc957f8ab01d9affe293db632f4ad14
crash-ba9e8295835983c8b0b3f92ec5ef65cc76e78f12
crash-d7d56f0e22a9d98aec2b34c4166c135fcb0128d3
load