view pixmaps/tb_open.xpm @ 13258:6acb9148d83e v8.0.1503

patch 8.0.1503: access memory beyond end of string commit https://github.com/vim/vim/commit/cdd09aa51a8d34bb384460af4f91026dbff5bf48 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Feb 11 15:38:40 2018 +0100 patch 8.0.1503: access memory beyond end of string Problem: Access memory beyond end of string. (Coverity) Solution: Keep allocated memory in separate pointer. Avoid outputting the NUL character.
author Christian Brabandt <cb@256bit.org>
date Sun, 11 Feb 2018 15:45:05 +0100
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",
"                  ",
"                  "};