1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 22:23:13 +02:00

Fix crash issue in websocket server (CVE-2023-50784)

This commit is contained in:
Bram Matthys
2023-12-15 12:33:23 +01:00
parent fa84174d22
commit b0e87dcafa
+2 -2
View File
@@ -10,7 +10,7 @@
ModuleHeader MOD_HEADER
= {
"websocket_common",
"6.0.0",
"6.1.4",
"WebSocket support (RFC6455)",
"UnrealIRCd Team",
"unrealircd-6",
@@ -149,7 +149,7 @@ int websocket_handle_packet(Client *client, const char *readbuf, int length, int
const char *p;
int total_packet_size;
char *payload = NULL;
static char payloadbuf[READBUF_SIZE];
static char payloadbuf[MAXLINELENGTH];
int maskkeylen = 4;
if (length < 4)