1
0
forked from aniani/vim

patch 8.2.3487: illegal memory access if buffer name is very long

Problem:    Illegal memory access if buffer name is very long.
Solution:   Make sure not to go over the end of the buffer.
This commit is contained in:
Bram Moolenaar
2021-10-08 18:39:28 +01:00
parent cce81e9673
commit 826bfe4bbd
3 changed files with 17 additions and 5 deletions

View File

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