From 899b4cd3eb85f46ee44e0ee7577ebaa43b082196 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Aug 2021 23:00:07 +0100 Subject: [PATCH] Increase the linebuf length to fit a full message including tags. --- src/common/hexchat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/hexchat.h b/src/common/hexchat.h index 5c9949a2..43a5f43a 100644 --- a/src/common/hexchat.h +++ b/src/common/hexchat.h @@ -503,7 +503,7 @@ typedef struct server char servername[128]; /* what the server says is its name */ char password[86]; char nick[NICKLEN]; - char linebuf[2048]; /* RFC says 512 chars including \r\n */ + char linebuf[8704]; /* RFC says 512 chars including \r\n, IRCv3 message tags add 8191, plus the NUL byte */ char *last_away_reason; int pos; /* current position in linebuf */ int nickcount;