Mercurial > vim
view pixmaps/tb_open.xpm @ 22496:454b78ca8247 v8.2.1796
patch 8.2.1796: Vim9: invalid memory access with weird function name
Commit: https://github.com/vim/vim/commit/7b5d5442696d86daab062592d5c86c829757c352
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 4 13:42:34 2020 +0200
patch 8.2.1796: Vim9: invalid memory access with weird function name
Problem: Vim9: invalid memory access with weird function name. (Dhiraj
Mishra)
Solution: Check the name is valid. Add a test.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 04 Oct 2020 13:45:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_open_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ "18 18 7 1 0 0", /* colors */ " s none m none c none", ". s iconColor1 m black c #000000", "X s bottomShadowColor m black c #5D6069", "o s iconColor2 m none c #FFFFFF", "O s iconGray1 m none c #dedede", "+ s iconGray5 m black c #737373", "@ s iconGray3 m none c #adadad", /* pixels */ " ", " .........X ", " .oooooo.o.X ", " .oooooo.oo.X ", " .oooooo....X ", " ...ooooooooo... ", " .O.OOOOOOOOo.+. ", ".............O.+.X", ".oooooooooooo..+.X", " .o@@@@@@@@@@+.+.X", " .o@@@@@@@@@@@.+.X", " .o@@@@@@@@@@+..X", " .o@@@@@@@@@@@..X", " .o+++++++++++.X", " ..............X", " XXXXXXXXXXXXX", " ", " "};