mirror of
https://github.com/debauchee/barrier.git
synced 2026-05-15 14:16:02 -06:00
[PR #1356] [MERGED] [2.3.x] Backports of security fixes #1792
Labels
No labels
HiDPI
bounty
bsd/freebsd
bsd/openbsd
bug
bug
build-infra
cantfix
critical
doc
duplicate
enhancement
fix-available
from git
from release
good first issue
help wanted
installer/package
invalid
linux
macOS
meta
needs testing
pull-request
query
question
regression
regression
v2.4.0
windows
wontfix
work-in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/barrier#1792
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/debauchee/barrier/pull/1356
Author: @p12tic
Created: 11/1/2021
Status: ✅ Merged
Merged: 11/1/2021
Merged by: @p12tic
Base:
2.3.x← Head:2.3-security-fixes📝 Commits (7)
d9b4a1clib/server: Remove unused codef546af4lib: Enforce a maximum length of input messagesd762ab7lib/net: Limit the maximum size of TCP or SSL input buffers45cd2a9lib/barrier: Disconnect client on too long input packetsceecc61lib/server: Close connection when client app-level handshake fails1c1e83clib/net: Fix race conditions when closing SSL connectionse32cc60lib/net: Fix incorrect sharing of data between different SSL sessions📊 Changes
17 files changed (+200 additions, -78 deletions)
View changed files
➕
doc/newsfragments/close-failed-handshake-connections.bugfix(+6 -0)➕
doc/newsfragments/enforce-maximum-message-length.bugfix(+6 -0)➕
doc/newsfragments/fix-crash-on-ssl-hello.bugfix(+4 -0)➕
doc/newsfragments/ssl-corrupted-data.bugfix(+2 -0)📝
src/lib/barrier/PacketStreamFilter.cpp(+16 -6)📝
src/lib/barrier/PacketStreamFilter.h(+3 -1)📝
src/lib/barrier/ProtocolUtil.cpp(+10 -0)📝
src/lib/barrier/protocol_types.h(+8 -0)📝
src/lib/base/EventTypes.cpp(+1 -0)📝
src/lib/base/EventTypes.h(+6 -0)📝
src/lib/client/ServerProxy.cpp(+20 -9)📝
src/lib/net/SecureSocket.cpp(+57 -38)📝
src/lib/net/SecureSocket.h(+27 -9)📝
src/lib/net/TCPSocket.cpp(+5 -3)📝
src/lib/server/ClientListener.cpp(+5 -9)📝
src/lib/server/ClientProxy1_0.cpp(+18 -3)📝
src/lib/server/ClientProxyUnknown.cpp(+6 -0)📄 Description
This PR backports #1351, #1350 and #1347 to 2.3.x branch.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.