0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1824: crash when correctly spelled word is very long

Problem:    Crash when correctly spelled word is very long. (Ben Kraft)
Solution:   Check word length before copying. (closes #4778)
This commit is contained in:
Bram Moolenaar
2019-08-06 22:48:02 +02:00
parent d7663c22c6
commit 5bcc5a1ff9
3 changed files with 17 additions and 0 deletions

View File

@@ -769,6 +769,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1824,
/**/
1823,
/**/