mirror of
https://github.com/zoriya/vim.git
synced 2025-12-22 07:05:20 +00:00
patch 8.2.0634: crash with null partial and blob
Problem: Crash with null partial and blob.
Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan,
closes #5984)
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
func Test_wrong_arguments()
|
||||
call assert_fails('call cursor(1. 3)', 'E474:')
|
||||
call assert_fails('call cursor(test_null_list())', 'E474:')
|
||||
endfunc
|
||||
|
||||
func Test_move_cursor()
|
||||
|
||||
Reference in New Issue
Block a user