diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-08-17 22:45:45 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-08-18 01:19:01 +0200 |
commit | d1bdeacb00186ba72fa61f3c7f2951fd018ae21d (patch) | |
tree | 4794bcb34dc0ae75b877c31d2327b44174d97046 /runtime/lua/vim/text.lua | |
parent | cce1eb0806cc8c2f75b60aee5841b4750c2258c1 (diff) | |
download | rneovim-d1bdeacb00186ba72fa61f3c7f2951fd018ae21d.tar.gz rneovim-d1bdeacb00186ba72fa61f3c7f2951fd018ae21d.tar.bz2 rneovim-d1bdeacb00186ba72fa61f3c7f2951fd018ae21d.zip |
vim-patch:8e25d91: runtime(dist): verify that executable is in $PATH
Otherwise, if the executable to be verified does not exist,
this would cause a false-positive in the 'IsSafeExecutable()' check,
because 'exepath(executable)' returns an empty string and
'fnamemodify('', ':p:h')' returns the current directory and as a result
the 'IsSafeExecutable()' returns false (for the wrong reason).
https://github.com/vim/vim/commit/8e25d91cb7bb4dc171cb4e95b1bb79a39400a13a
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/lua/vim/text.lua')
0 files changed, 0 insertions, 0 deletions