1
0
forked from aniani/vim

patch 8.0.1421: accessing invalid memory with overlong byte sequence

Problem:    Accessing invalid memory with overlong byte sequence.
Solution:   Check for NUL character. (test by Dominique Pelle, closes #2485)
This commit is contained in:
Bram Moolenaar
2017-12-22 21:06:56 +01:00
parent 3c09722600
commit e6640ad44e
3 changed files with 26 additions and 2 deletions

View File

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