diff options
author | oni-link <knil.ino@gmail.com> | 2015-03-12 14:05:16 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2015-03-13 17:26:54 -0400 |
commit | a916696a130b2bb9517c01f77148dfb77ef304fd (patch) | |
tree | 43758e9c3e99a1ad65749be58a2f04f9f14a8fe8 /runtime/doc/manpages/it/vim-it.1 | |
parent | bdbbdb5888e18025b0f95849a88fe6cb53454183 (diff) | |
download | rneovim-a916696a130b2bb9517c01f77148dfb77ef304fd.tar.gz rneovim-a916696a130b2bb9517c01f77148dfb77ef304fd.tar.bz2 rneovim-a916696a130b2bb9517c01f77148dfb77ef304fd.zip |
syntax.c: Prevent use after free for variable g:colors_name.
ASan spotted a problem when using 'set background={light,dark}' with
color scheme solarized.
While loading the colors for color scheme 'g:colors_name', the pointer
on the value for this variable can become invalid, because of an 'unlet
colors_name' (part of an :highlight clear, syntax.c:6173).
To prevent the use of the freed value, decouple the value from
'g:colors_name' before calling load_colors() with it.
Diffstat (limited to 'runtime/doc/manpages/it/vim-it.1')
0 files changed, 0 insertions, 0 deletions