diff --git a/src/spell.c b/src/spell.c index 5a7720f7f3..2581a5ede9 100644 --- a/src/spell.c +++ b/src/spell.c @@ -3829,7 +3829,7 @@ spell_soundfold_wsal(slang_T *slang, char_u *inword, char_u *res) c = *ws; if (strstr((char *)s, "^^") != NULL) { - if (c != NUL) + if (c != NUL && reslen < MAXWLEN) wres[reslen++] = c; mch_memmove(word, word + i + 1, sizeof(int) * (wordlen - (i + 1) + 1)); diff --git a/src/version.c b/src/version.c index 5a9f50f6ee..95d4cc1a10 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 903, /**/ 902, /**/