Mercurial > vim
view pixmaps/tb_minwidth.xpm @ 32226:a5b5d8df5763 v9.0.1444
patch 9.0.1444: crash when passing NULL to setcmdline()
Commit: https://github.com/vim/vim/commit/ac6cd31afcbdd08bfa92ca33f7d4ce5773ba4353
Author: zeertzjq <zeertzjq@outlook.com>
Date: Wed Apr 12 16:21:14 2023 +0100
patch 9.0.1444: crash when passing NULL to setcmdline()
Problem: Crash when passing NULL to setcmdline(). (Andreas Louv)
Solution: Use tv_get_string() instead of using v_string directly.
(closes #12231, closes #12227)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 12 Apr 2023 17:30:04 +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 ", " ", " "};