Mercurial > vim
comparison src/version.c @ 27154:6d7fe3af5aa2 v8.2.4106
patch 8.2.4106: going over the end of the w_lines array
Commit: https://github.com/vim/vim/commit/fa1a45705995f16ee7e69434c772107a3ddeeebd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 16 11:42:20 2022 +0000
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 https://github.com/vim/vim/issues/9540)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 16 Jan 2022 12:45:03 +0100 |
parents | c83631ad3d2a |
children | 67194006cad8 |
comparison
equal
deleted
inserted
replaced
27153:ebd3d5313ea6 | 27154:6d7fe3af5aa2 |
---|---|
748 NULL | 748 NULL |
749 }; | 749 }; |
750 | 750 |
751 static int included_patches[] = | 751 static int included_patches[] = |
752 { /* Add new patch number below this line */ | 752 { /* Add new patch number below this line */ |
753 /**/ | |
754 4106, | |
753 /**/ | 755 /**/ |
754 4105, | 756 4105, |
755 /**/ | 757 /**/ |
756 4104, | 758 4104, |
757 /**/ | 759 /**/ |