0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.4258: Coverity warns for array overrun

Problem:    Coverity warns for array overrun.
Solution:   Restrict depth to MAXWLEN - 1.
This commit is contained in:
Bram Moolenaar
2022-01-30 12:10:39 +00:00
parent f10911e5db
commit 6970e1e36a
2 changed files with 4 additions and 2 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4258,
/**/
4257,
/**/