libreoffice-online/tools
Ashod Nakashian df6d942d08 wsd: harden socket weakptr
Weak pointers can be null and must be
checked before using. This fixes at least
one segfault and prevents a number of others.

Also, minimizes locking of weak pointers
in the message handlers.

Change-Id: I306501c26c3441d7bd6812d51fa17e7356126f32
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/92828
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
2020-04-24 15:39:17 +02:00
..
Config.cpp
Connect.cpp killpoco: remove WebSocket includes from a couple of places. 2020-04-18 18:29:04 +02:00
KitClient.cpp Introduce StringVector::equals() 2020-03-09 09:46:33 +01:00
map.cpp
mount.cpp
Replay.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
Stress.cpp killpoco: removed Poco::Thread from tools directory 2020-04-08 17:22:10 +02:00
Tool.cpp killpoco: removed Poco::Thread from tools directory 2020-04-08 17:22:10 +02:00
WebSocketDump.cpp wsd: harden socket weakptr 2020-04-24 15:39:17 +02:00