Skip to content

Commit 0c791d0

Browse files
authored
Merge pull request from GHSA-j9fv-6fwf-p3g4
Fix for CVE-2020-4044
2 parents dda748d + e593f58 commit 0c791d0

File tree

5 files changed

+592
-259
lines changed

5 files changed

+592
-259
lines changed

Diff for: sesman/libscp/libscp_types.h

+4
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,10 @@
5959

6060
#include "libscp_types_mng.h"
6161

62+
/* Max server incoming and outgoing message size, used to stop memory
63+
exhaustion attempts (CVE-2020-4044) */
64+
#define SCP_MAX_MESSAGE_SIZE 8192
65+
6266
struct SCP_CONNECTION
6367
{
6468
int in_sck;

0 commit comments

Comments
 (0)