From c88e4a270d54eae3fe8e6b93a0ed3898e4632be5 Mon Sep 17 00:00:00 2001 From: Shougo Date: Sun, 15 Jan 2017 09:08:27 +0900 Subject: vim-patch:7.4.1968 (#5949) Problem: Invalid memory access with "\. Solution: Do not recognize this as a special character. (Dominique Pelle) https://github.com/vim/vim/commit/1d90a5a5af84250e226f8a9121e771f7b72aa894 --- src/nvim/testdir/test_expr.vim | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/nvim/testdir') diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index 7483973fca..189ecce2fe 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -92,3 +92,8 @@ endfunc func Test_set_reg_null_list() call setreg('x', v:_null_list) endfunc + +func Test_special_char() + " The failure is only visible using valgrind. + call assert_fails('echo "\') +endfunc -- cgit