Skip to content
Permalink
Browse files Browse the repository at this point in the history
Merge pull request from GHSA-j9fv-6fwf-p3g4
Fix for CVE-2020-4044
  • Loading branch information
metalefty committed Jun 26, 2020
2 parents dda748d + e593f58 commit 0c791d0
Show file tree
Hide file tree
Showing 5 changed files with 592 additions and 259 deletions.
4 changes: 4 additions & 0 deletions sesman/libscp/libscp_types.h
Expand Up @@ -59,6 +59,10 @@

#include "libscp_types_mng.h"

/* Max server incoming and outgoing message size, used to stop memory
exhaustion attempts (CVE-2020-4044) */
#define SCP_MAX_MESSAGE_SIZE 8192

struct SCP_CONNECTION
{
int in_sck;
Expand Down

0 comments on commit 0c791d0

Please sign in to comment.