mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.0104: going beyond allocated memory when evaluating string constant
Problem: Going beyond allocated memory when evaluating string constant. Solution: Properly skip over <Key> form.
This commit is contained in:
@@ -617,4 +617,9 @@ func Test_modified_char_no_escape_special()
|
|||||||
nunmap <M-…>
|
nunmap <M-…>
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
func Test_eval_string_in_special_key()
|
||||||
|
" this was using the '{' inside <> as the start of an interpolated string
|
||||||
|
silent! echo 0{1-$"\<S--{>n|nö% |