1
0
forked from aniani/vim

patch 9.0.0220: invalid memory access with for loop over NULL string

Problem:    Invalid memory access with for loop over NULL string.
Solution:   Make sure mb_ptr2len() consistently returns zero for NUL.
This commit is contained in:
Bram Moolenaar
2022-08-16 17:50:38 +01:00
parent 948a3894d9
commit f6d39c31d2
4 changed files with 29 additions and 9 deletions

View File

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