commit | fa1a45705995f16ee7e69434c772107a3ddeeebd | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jan 16 11:42:20 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jan 16 11:42:20 2022 +0000 |
tree | fa93a05ef9444dbe307d4e96aca39167ec86ecf6 | |
parent | b5988e365646746029e13473251e5844440d819c [diff] [blame] |
patch 8.2.4106: going over the end of the w_lines array Problem: Going over the end of the w_lines array. Solution: Break out of the loop when "idx" is too big. (issue #9540)
diff --git a/src/version.c b/src/version.c index 8ddd419..2e8e9f3 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4106, +/**/ 4105, /**/ 4104,