annotate pixmaps/tb_make.xpm @ 33096:828bcb1a37e7 v9.0.1833

patch 9.0.1833: [security] runtime file fixes Commit: https://github.com/vim/vim/commit/816fbcc262687b81fc46f82f7bbeb1453addfe0c Author: Christian Brabandt <cb@256bit.org> Date: Thu Aug 31 23:52:30 2023 +0200 patch 9.0.1833: [security] runtime file fixes Problem: runtime files may execute code in current dir Solution: only execute, if not run from current directory The perl, zig and ruby filetype plugins and the zip and gzip autoload plugins may try to load malicious executable files from the current working directory. This is especially a problem on windows, where the current directory is implicitly in your $PATH and windows may even run a file with the extension `.bat` because of $PATHEXT. So make sure that we are not trying to execute a file from the current directory. If this would be the case, error out (for the zip and gzip) plugins or silently do not run those commands (for the ftplugins). This assumes, that only the current working directory is bad. For all other directories, it is assumed that those directories were intentionally set to the $PATH by the user. Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Fri, 01 Sep 2023 00:00:02 +0200
parents 3fc0f57ecb91
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* XPM */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 static char * tb_make_xpm[] = {
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 /* width height ncolors cpp [x_hot y_hot] */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 "18 18 4 1 0 0",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 /* colors */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " s none m none c none",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 ". s iconColor1 m black c #000000",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 "X s iconColor2 m none c #FFFFFF",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 "o s bottomShadowColor m black c #5D6069",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 /* pixels */
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 " .. ..... ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " .XX.XXXXX. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 " .XXXXXXXXX. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " .Xo.XXXX..X. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 " .. ....o .. ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " ... . ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 " ...o ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 " ooo ",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 " "};