aboutsummaryrefslogtreecommitdiffstats
path: root/FICS
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-01-04 00:11:33 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-01-04 00:11:33 +0100
commitc1f1fa04ed1c754fb6343292218a2fcce79f9c0f (patch)
tree9568b67a4d6ff575ac336c41434e7b4bb54ca428 /FICS
parent24f33c3bced5c431c1725101879a96f28cd258f5 (diff)
Set buffers to zero
Diffstat (limited to 'FICS')
-rw-r--r--FICS/comproc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/comproc.c b/FICS/comproc.c
index c4389a4..5bd1eba 100644
--- a/FICS/comproc.c
+++ b/FICS/comproc.c
@@ -105,8 +105,8 @@ PUBLIC void
rscan_news2(FILE *fp, int p, int num)
{
char *junkp;
- char count[10];
- char junk[MAX_LINE_SIZE];
+ char count[10] = { '\0' };
+ char junk[MAX_LINE_SIZE] = { '\0' };
long int lval;
time_t crtime;