mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 20:08:17 +00:00
vim-patch:8.2.3850: illegal memory access when displaying a partial
Problem: Illegal memory access when displaying a partial.
Solution: Terminate the string with a NUL. (closes vim/vim#9371)
2de5371a75
This commit is contained in:
@@ -108,3 +108,11 @@ func Test_echospace()
|
|||||||
|
|
||||||
set ruler& showcmd&
|
set ruler& showcmd&
|
||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
|
" this was missing a terminating NUL
|
||||||
|
func Test_echo_string_partial()
|
||||||
|
function CountSpaces()
|
||||||
|
endfunction
|
||||||
|
echomsg function('CountSpaces', [#{aaaaaaaaaaa: v:false, bbbbbbbbbbbb: '', ccccccccccc: ['ab', 'cd']}])
|
||||||
|
endfunc
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user