]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4974: ":so" command may read after end of buffer v8.2.4974
authorBram Moolenaar <Bram@vim.org>
Tue, 17 May 2022 16:47:07 +0000 (17:47 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 17 May 2022 16:47:07 +0000 (17:47 +0100)
commit4748c4bd64610cf943a431d215bb1aad51f8d0b4
treea5e483daee891807be23aac8be24587a8da4b26f
parentbd3a9d2c946bae0427d7c9b9249716064935fb4e
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.
src/scriptfile.c
src/testdir/test_source.vim
src/version.c