aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-12-01 08:59:35 +0100
committerMarkus Uhlin <markus@nifty-networks.net>2024-12-01 08:59:35 +0100
commit3549f0a8e16a895baa1f8763129982b156b9dc99 (patch)
tree1d79438d9eac6878e4ddb3791b96d7b0c7e39b5f
parent987560ea87e892029c4d321efd08c57f465b53d4 (diff)
pmore_file: initialized the tmp buffer
-rw-r--r--FICS/utils.c2
1 files changed, 1 insertions, 1 deletions
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) {