libreoffice-online/net
Michael Meeks 7788bd9268 Avoid taking address over the end of a vector if reading 0 bytes.
Happens with some close frames eg.

[ docbroker_001 ] TRC  #21: Incoming WebSocket data of 6 bytes: 88 80 4a 2c 44 f9  | ..J,D.|

    fin = true
    OpCode is Close (= 0x8)
    hasMask = true
    payloadLen = 0
    headerLen = 2 -> 6 after hasMask is taken into account.

Change-Id: I0e212e4589c3cc63db16f7065dc90cd0bd539ada
2020-01-06 15:34:24 +00:00
..
clientnb.cpp net: make members private in clientnb 2019-01-21 09:13:23 +01:00
DelaySocket.cpp net: make members private in DelaySocket 2019-01-17 08:46:11 +01:00
DelaySocket.hpp Initial DelaySocket goodness. 2017-04-22 18:42:16 +01:00
FakeSocket.cpp typo fixes in comments and code 2019-10-08 11:49:45 +02:00
FakeSocket.hpp android: #if(n)def MOBILEAPP -> #if (!)MOBILEAPP for better reliability. 2019-02-12 12:20:11 +01:00
ServerSocket.hpp LocalServerSocket: can move sockFactory instead of copy 2019-05-22 14:09:02 +02:00
Socket.cpp test: improve HTTPServerTest::testConvertToWithForwardedClientIP 2019-10-29 02:32:35 +01:00
Socket.hpp tdf#129306 SslSocket: handle EAGAIN properly. 2019-12-10 11:45:13 +00:00
Ssl.cpp modernise TLS setup 2019-11-20 13:48:07 +01:00
Ssl.hpp Make the WSD SSL cipher list configurable. 2017-11-22 15:55:03 +00:00
SslSocket.hpp tdf#129306 SslSocket: handle EAGAIN properly. 2019-12-10 11:45:13 +00:00
WebSocketHandler.hpp Avoid taking address over the end of a vector if reading 0 bytes. 2020-01-06 15:34:24 +00:00