projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
175de9b
)
msgbase.c: some of the field conversion buffer fields were too small, increased them...
author
Art Cancro
<ajc@citadel.org>
Sun, 15 Nov 2020 21:32:56 +0000
(16:32 -0500)
committer
Art Cancro
<ajc@citadel.org>
Sun, 15 Nov 2020 21:32:56 +0000
(16:32 -0500)
citadel/msgbase.c
patch
|
blob
|
history
diff --git
a/citadel/msgbase.c
b/citadel/msgbase.c
index d8015ccae309f3983acb26a1b609157521ecd7aa..2574758927a6f8e3059dde07c6cedddbfbe2980b 100644
(file)
--- 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.
*/
* using functions that are bounds-checked, and therefore we can
* make them substantially smaller than SIZ.
*/
- char suser[10
0
];
- char luser[10
0
];
- char fuser[10
0
];
- char snode[10
0
];
- char mid[10
0
];
+ char suser[10
24
];
+ char luser[10
24
];
+ char fuser[10
24
];
+ char snode[10
24
];
+ char mid[10
24
];
syslog(LOG_DEBUG, "msgbase: CtdlOutputPreLoadedMsg(TheMessage=%s, %d, %d, %d, %d",
((TheMessage == NULL) ? "NULL" : "not null"),
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(suser, "");
strcpy(luser, "");
strcpy(fuser, "");
+ strcpy(snode, "");
if (mode == MT_RFC822)
OutputRFC822MsgHeaders(
TheMessage,
if (mode == MT_RFC822)
OutputRFC822MsgHeaders(
TheMessage,