commit | 4748c4bd64610cf943a431d215bb1aad51f8d0b4 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue May 17 17:47:07 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue May 17 17:47:07 2022 +0100 |
tree | a5e483daee891807be23aac8be24587a8da4b26f | |
parent | bd3a9d2c946bae0427d7c9b9249716064935fb4e [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 68d11a2..98bb40d 100644 --- a/src/version.c +++ b/src/version.c
@@ -747,6 +747,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4974, +/**/ 4973, /**/ 4972,