From eb1d915b496f1eab01574c4e325326016a18b220 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Sun, 31 Dec 2023 19:22:52 +0100 Subject: got_attr_value_player: init 'tmp' --- FICS/playerdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FICS/playerdb.c') diff --git a/FICS/playerdb.c b/FICS/playerdb.c index 60fbc55..b9e4704 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -513,7 +513,7 @@ PRIVATE int got_attr_value_player(int p, char *attr, char *value, FILE *fp, char *file) { char *tmp1; - char tmp[MAX_LINE_SIZE]; + char tmp[MAX_LINE_SIZE] = { '\0' }; int i, len; if (!strcmp(attr, "name:")) { -- cgit v1.2.3