commit | b3d33d8570bc49a7f90990572d7f9630a1bfae02 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Wed Jan 15 20:36:55 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Wed Jan 15 20:36:55 2020 +0100 |
tree | 46c3d7dedbb64129504f404d5dfdb2bfb7ec2ecc | |
parent | 1470dc35c4b14bda1995b7566c9a41a33eb06517 [diff] [blame] |
patch 8.2.0120: virtcol() does not check arguments to be valid Problem: virtcol() does not check arguments to be valid, which may lead to a crash. Solution: Check the column to be valid. Do not decrement MAXCOL. (closes #5480)
diff --git a/src/version.c b/src/version.c index 44bfd6b..e20bf5d 100644 --- a/src/version.c +++ b/src/version.c
@@ -743,6 +743,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 120, +/**/ 119, /**/ 118,