Mercurial > vim
view pixmaps/tb_help.xpm @ 14784:0745e2cd4606 v8.1.0404
patch 8.1.0404: accessing invalid memory with long argument name
commit https://github.com/vim/vim/commit/e961cba3cb8281c47f1dc2c2bc031b07504f17d4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 18 21:51:47 2018 +0200
patch 8.1.0404: accessing invalid memory with long argument name
Problem: Accessing invalid memory with long argument name.
Solution: Use item_count instead of checking for a terminating NULL.
(Dominique Pelle, closes #3444)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 18 Sep 2018 22:00:09 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
/* XPM */ static char * tb_help_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 ", " XX ", " ", " "};