From 97812f00652c44ac174a4ec2a3e17e94863c8bbe Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Sun, 15 Nov 2020 16:32:56 -0500 Subject: [PATCH] msgbase.c: some of the field conversion buffer fields were too small, increased them from 100 bytes to 1024 bytes to handle messages converted from RFC822 or RSS. --- citadel/msgbase.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/citadel/msgbase.c b/citadel/msgbase.c index d8015ccae..257475892 100644 --- a/citadel/msgbase.c +++ b/citadel/msgbase.c @@ -2036,11 +2036,11 @@ int CtdlOutputPreLoadedMsg( * using functions that are bounds-checked, and therefore we can * make them substantially smaller than SIZ. */ - char suser[100]; - char luser[100]; - char fuser[100]; - char snode[100]; - char mid[100]; + char suser[1024]; + char luser[1024]; + char fuser[1024]; + char snode[1024]; + char mid[1024]; syslog(LOG_DEBUG, "msgbase: CtdlOutputPreLoadedMsg(TheMessage=%s, %d, %d, %d, %d", ((TheMessage == NULL) ? "NULL" : "not null"), @@ -2143,6 +2143,7 @@ int CtdlOutputPreLoadedMsg( strcpy(suser, ""); strcpy(luser, ""); strcpy(fuser, ""); + strcpy(snode, ""); if (mode == MT_RFC822) OutputRFC822MsgHeaders( TheMessage, -- 2.30.2