diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-02-22 15:35:11 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-03-01 04:01:32 -0500 |
commit | 55e3f211105c3ab2fb16ac677847d695b31b1ae2 (patch) | |
tree | 3fcbd85e48e999b429ce14be264c4d59cd1fbb31 | |
parent | 4de2957a997bc54a968e40cebc51a42f29afb39c (diff) | |
download | rneovim-55e3f211105c3ab2fb16ac677847d695b31b1ae2.tar.gz rneovim-55e3f211105c3ab2fb16ac677847d695b31b1ae2.tar.bz2 rneovim-55e3f211105c3ab2fb16ac677847d695b31b1ae2.zip |
vim-patch:8.2.0133: invalid memory access with search command
Problem: Invalid memory access with search command.
Solution: When :normal runs out of characters in bracketed paste mode break
out of the loop.(closes vim/vim#5511)
https://github.com/vim/vim/commit/98a336dd497d3422e7efeef9f24cc9e25aeb8a49
-rw-r--r-- | src/nvim/testdir/test_search.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index 5d99027ca5..acce8dc42f 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -698,3 +698,8 @@ func Test_search_display_pattern() set norl endif endfunc + +func Test_search_special() + " this was causing illegal memory access + exe "norm /\x80PS" +endfunc |