libreoffice-online/fuzzer/data
Miklos Vajna d129979822 wsd: fix crash with read-only documents + uno command without param
==15956==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x0000007cd2f7 bp 0x7ffe96c7cd70 sp 0x7ffe96c7c4e8 T0)
...
    #7 0x11a9d31 in ClientSession::filterMessage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const wsd/ClientSession.cpp:977:27
    #8 0x11925d6 in ClientSession::_handleInput(char const*, int) wsd/ClientSession.cpp:741:14
    #9 0x19395d0 in Session::handleMessage(bool, WSOpCode, std::vector<char, std::allocator<char> >&) common/Session.cpp:230:13

This seems to be a recurring pattern, I'll consider reworking
LOOLProtocol::tokenize() in a follow-up commit to have a return value
that is safer than std::vector<std::string>.

Change-Id: I0e71214a55af2e71e4787cb0dba0ddf7825bf9d9
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89637
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2020-02-27 17:59:59 +01:00
..
clientvisiblearea Add an initial libfuzzer based fuzzer 2020-02-22 12:18:22 +01:00
crash-2dc9a83fb2861cecefd31e65064639d1ce118bd3 wsd: fix crash with read-only documents + uno command without param 2020-02-27 17:59:59 +01:00
crash-32e5136d2291e6c5fa99aa5942acded42b66a528 wsd: fix crash when downloadas has not enough parameters 2020-02-22 12:18:34 +01:00
crash-060b81ab7163c0546b2c11459f19719af22d7390
load Add an initial libfuzzer based fuzzer 2020-02-22 12:18:22 +01:00
loolclient Add an initial libfuzzer based fuzzer 2020-02-22 12:18:22 +01:00
textinput Add an initial libfuzzer based fuzzer 2020-02-22 12:18:22 +01:00
tileprocessed Add an initial libfuzzer based fuzzer 2020-02-22 12:18:22 +01:00