1
0
forked from aniani/vim

patch 9.0.0192: possible invalid memory access when 'cmdheight' is zero

Problem:    Possible invalid memory access when 'cmdheight' is zero. (Martin
            Tournoij)
Solution:   Avoid going over the end of w_lines[] when w_height is Rows.
            (closes #10882)
This commit is contained in:
Bram Moolenaar
2022-08-11 15:52:14 +01:00
parent d4cf9fc53e
commit fdc5d17d58
2 changed files with 7 additions and 1 deletions

View File

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