From c1f1fa04ed1c754fb6343292218a2fcce79f9c0f Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 4 Jan 2024 00:11:33 +0100 Subject: Set buffers to zero --- FICS/comproc.c | 4 ++-- 1 file 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; -- cgit v1.2.3