Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wsd: fix assert fail in DocumentBroker::getJailRoot()
This can happen if the websocket incoming traffic has a load command, followed by a removesession command, so asserting a non-empty jail ID seems to be going too far. Backtrace: #9 0x555e36ada9b8 in DocumentBroker::getJailRoot[abi:cxx11]() const wsd/DocumentBroker.cpp:3646:5 #10 0x555e36b49ae3 in DocumentBroker::uploadPresetsToWopiHost(Authorization const&) wsd/DocumentBroker.cpp:4094:41 #11 0x555e36b444c9 in DocumentBroker::removeSession(std::shared_ptr<ClientSession> const&) wsd/DocumentBroker.cpp:3772:9 #12 0x555e369bb709 in ClientSession::_handleInput(char const*, int) ClientSession.cpp:1088:24 #13 0x555e3703957b in Session::handleMessage(std::vector<char, std::allocator<char>> const&) common/Session.cpp Signed-off-by: Miklos Vajna <[email protected]> Change-Id: Ib9cfd4856838dfa6ba304888770898964e922260
- Loading branch information