]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.0192: possible invalid memory access when 'cmdheight' is zero v9.0.0192
authorBram Moolenaar <Bram@vim.org>
Thu, 11 Aug 2022 14:52:14 +0000 (15:52 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 11 Aug 2022 14:52:14 +0000 (15:52 +0100)
commitfdc5d17d58cc9c9edc9fb2816e1afaabc531bf1e
tree65d2a2fe1ad08bc48fa3ee45fa5d2fa3ae1de89b
parentd4cf9fc53e0b1d36e84d28ecd5595a6f102f325e
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)
src/drawscreen.c
src/version.c