From 2feba16c8c5b0808efd1744502a36b700c931633 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Mon, 25 Nov 2024 00:09:31 +0100 Subject: pcommand: initialized 'tmp' --- FICS/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS') diff --git a/FICS/utils.c b/FICS/utils.c index 337a838..131e7bd 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -250,7 +250,7 @@ mail_file_to_user(int p, char *subj, char *fname) PUBLIC int pcommand(int p, char *comstr, ...) { - char tmp[MAX_LINE_SIZE]; + char tmp[MAX_LINE_SIZE] = { '\0' }; int current_socket = parray[p].socket; int retval; va_list ap; -- cgit v1.2.3