view pixmaps/tb_cut.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_cut_xpm[] = {
/* width height ncolors cpp [x_hot y_hot] */
"18 18 3 1 0 0",
/* colors */
" 	s none	m none	c none",
".	s iconColor1	m black	c #000000",
"X	s bottomShadowColor	m black	c #5D6069",
/* pixels */
"                  ",
"     .     .X     ",
"     .X    .X     ",
"      .   .X      ",
"      .X  .X      ",
"       . .X       ",
"       .X.X       ",
"        .X        ",
"       ...X       ",
"     X.X  .X      ",
"    ...X  ...     ",
"   .XX.X  .X .    ",
"   .  .X  .X .X   ",
"   .  .X  .X .X   ",
"    ..XX   ..X    ",
"    XX     XX     ",
"                  ",
"                  "};