mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
patch 9.0.1846: [security] crash in fullcommand
Problem: crash in fullcommand Solution: Check for typeval correctly Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -3607,4 +3607,9 @@ func Test_string_reverse()
|
||||
let &encoding = save_enc
|
||||
endfunc
|
||||
|
||||
func Test_fullcommand()
|
||||
" this used to crash vim
|
||||
call assert_equal('', fullcommand(10))
|
||||
endfunc
|
||||
|
||||
" vim: shiftwidth=2 sts=2 expandtab
|
||||
|
Reference in New Issue
Block a user