From 8eb34701479565f2e37c847102183060e2ad90be Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 9 Jun 2015 02:20:34 -0400 Subject: [PATCH] MSan: Initialize buffer in spell_delete_wordlist. --- src/nvim/spell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nvim/spell.c b/src/nvim/spell.c index 63fc7b80a7..f312670a96 100644 --- a/src/nvim/spell.c +++ b/src/nvim/spell.c @@ -4116,7 +4116,7 @@ static int badword_captype(char_u *word, char_u *end) // Delete the internal wordlist and its .spl file. void spell_delete_wordlist(void) { - char_u fname[MAXPATHL]; + char_u fname[MAXPATHL] = {0}; if (int_wordlist != NULL) { os_remove((char *)int_wordlist);