From 1572956589b6e071bab07fef06659aa38f2a2185 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 1 Dec 2024 08:57:10 +0100 Subject: mail_file_to_address: initialized buffers --- FICS/utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index 8d5c7cd..eaa2e4d 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -200,8 +200,8 @@ PUBLIC int mail_file_to_address(char *addr, char *subj, char *fname) { FILE *fp1, *fp2; - char com[1000]; - char tmp[MAX_LINE_SIZE]; + char com[1000] = { '\0' }; + char tmp[MAX_LINE_SIZE] = { '\0' }; /* maybe unused */ (void) fp2; -- cgit v1.2.3