libreoffice-online/net
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
..
clientnb.cpp
DelaySocket.cpp Poll - cleanup method naming, and fix merge issues. 2020-04-10 13:58:00 +02:00
DelaySocket.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
FakeSocket.cpp typo fixes in comments and code 2019-10-08 11:49:45 +02:00
FakeSocket.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
ServerSocket.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
Socket.cpp Poll - cleanup method naming, and fix merge issues. 2020-04-10 13:58:00 +02:00
Socket.hpp Proxy protocol bits. 2020-04-24 13:57:49 +02:00
Ssl.cpp modernise TLS setup 2019-11-20 13:48:07 +01:00
Ssl.hpp Use #pragma once 2020-04-18 15:00:18 +02:00
SslSocket.hpp YAGNI: Bin bool parameter that is passed as true at the one single call site 2020-04-19 22:05:29 +02:00
WebSocketHandler.hpp wsd: harden socket weakptr 2020-04-24 15:39:17 +02:00