diff options
-rw-r--r-- | FICS/playerdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/FICS/playerdb.c b/FICS/playerdb.c index d9381e1..83bd16a 100644 --- a/FICS/playerdb.c +++ b/FICS/playerdb.c @@ -915,8 +915,8 @@ player_read(int p, char *name) { FILE *fp; char *attr, *value; - char fname[MAX_FILENAME_SIZE]; - char line[MAX_LINE_SIZE]; + char fname[MAX_FILENAME_SIZE] = { '\0' }; + char line[MAX_LINE_SIZE] = { '\0' }; int len; int version = 0; |