From 2107123ec807a61135f97ed8620818fe0d691156 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 23 Mar 2026 20:17:54 +0100 Subject: Set array to zero --- FICS/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS/command.c') diff --git a/FICS/command.c b/FICS/command.c index 3a8ddbf..c5d6950 100644 --- a/FICS/command.c +++ b/FICS/command.c @@ -1303,7 +1303,7 @@ PUBLIC void commands_init(void) { FILE *fp, *afp; - char fname[MAX_FILENAME_SIZE]; + char fname[MAX_FILENAME_SIZE] = { '\0' }; int fd[2]; int i = 0; -- cgit v1.2.3