From 3549f0a8e16a895baa1f8763129982b156b9dc99 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 1 Dec 2024 08:59:35 +0100 Subject: pmore_file: initialized the tmp buffer --- 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 6872428..e7a926a 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -478,7 +478,7 @@ PUBLIC int pmore_file(int p) { FILE *fp; - char tmp[MAX_LINE_SIZE]; + char tmp[MAX_LINE_SIZE] = { '\0' }; int lcount = (parray[p].d_height - 1); if (!parray[p].last_file) { -- cgit v1.2.3