Mercurial > vim
view pixmaps/tb_minwidth.xpm @ 25652:ca61340ac1b9 v8.2.3362
patch 8.2.3362: buffer overflow when completing long tag name
Commit: https://github.com/vim/vim/commit/489d60996deb5e7c1a3b4633412d54632e6def42
Author: Gregory Anders <greg@gpanders.com>
Date: Sat Aug 21 16:21:19 2021 +0200
patch 8.2.3362: buffer overflow when completing long tag name
Problem: Buffer overflow when completing long tag name.
Solution: Allocate the buffer dynamically. (Gregory Anders, closes https://github.com/vim/vim/issues/8769)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 21 Aug 2021 16: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 ", " ", " "};