Mercurial > vim
view pixmaps/tb_minwidth.xpm @ 29704:5b3a88601317 v9.0.0192
patch 9.0.0192: possible invalid memory access when 'cmdheight' is zero
Commit: https://github.com/vim/vim/commit/fdc5d17d58cc9c9edc9fb2816e1afaabc531bf1e
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Aug 11 15:52:14 2022 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 11 Aug 2022 17:00:03 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_minwidth_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 5 1 0 0", /* colors */ " s none m none c none", ". s topShadowColor m none c #DCDEE5", "X s iconColor1 m black c #000000", "o s iconColor2 m none c #FFFFFF", "O s bottomShadowColor m black c #5D6069", /* pixels */ " ", " ", " .XXXXXX ", " .X...oX ", " .X...oX ", " .X...oX ", " X .X.o.oXO X ", " XX .X...oXO XX ", " XXX .X...oXO XXX ", " XX .X...oXO XX ", " X .X...oXO X ", " .X...oXO ", " .X..ooXO ", " .XooooXO ", " .XXXXXXO ", " OOOOO ", " ", " "};