annotate runtime/plugin/README.txt @ 33879:d418c82f02a4 v9.0.2149

patch 9.0.2149: [security]: use-after-free in exec_instructions() Commit: https://github.com/vim/vim/commit/5dd41d4b6370b7b7d09d691f9252b3899c66102a Author: Christian Brabandt <cb@256bit.org> Date: Mon Dec 4 22:52:23 2023 +0100 patch 9.0.2149: [security]: use-after-free in exec_instructions() Problem: [security]: use-after-free in exec_instructions() Solution: get tv pointer again [security]: use-after-free in exec_instructions() exec_instructions may access freed memory, if the GA_GROWS_FAILS() re-allocates memory. When this happens, the typval tv may still point to now already freed memory. So let's get that pointer again and compare it with tv. If those two pointers differ, tv is now invalid and we have to refresh the tv pointer. closes: #13621 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 10 Dec 2023 15:16:17 +0100
parents 2a4a2dc35c55
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 The plugin directory is for standard Vim plugin scripts.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 All files here ending in .vim will be sourced by Vim when it starts up.
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
4 Look in the file for hints on how it can be disabled without deleting it.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
6 getscriptPlugin.vim get latest version of Vim scripts
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
7 gzip.vim edit compressed files
6855
ee45d3b0579b Add the logiPat plugin to the distribution.
Bram Moolenaar <bram@vim.org>
parents: 1121
diff changeset
8 logiPat.vim logical operators on patterns
14372
2a4a2dc35c55 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 6855
diff changeset
9 manpager.vim using Vim as manpager
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
10 matchparen.vim highlight paren matching the one under the cursor
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
11 netrwPlugin.vim edit files over a network and browse (remote) directories
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
12 rrhelper.vim used for --remote-wait editing
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
13 spellfile.vim download a spellfile when it's missing
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
14 tarPlugin.vim edit (compressed) tar files
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
15 tohtml.vim convert a file with syntax highlighting to HTML
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
16 vimballPlugin.vim create and unpack .vba files
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
17 zipPlugin.vim edit zip archives
131
5c65f9e56459 updated for version 7.0044
vimboss
parents: 7
diff changeset
18
5c65f9e56459 updated for version 7.0044
vimboss
parents: 7
diff changeset
19 Note: the explorer.vim plugin is no longer here, the netrw.vim plugin has
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 790
diff changeset
20 taken over browsing directories (also for remote directories).
131
5c65f9e56459 updated for version 7.0044
vimboss
parents: 7
diff changeset
21