1
0
forked from aniani/vim

patch 8.2.4974: ":so" command may read after end of buffer

Problem:    ":so" command may read after end of buffer.
Solution:   Compute length of text properly.
This commit is contained in:
Bram Moolenaar
2022-05-17 17:47:07 +01:00
parent bd3a9d2c94
commit 4748c4bd64
3 changed files with 15 additions and 1 deletions

View File

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