diff src/testdir/test_search.vim @ 19147:06ef1e438ac8 v8.2.0133

patch 8.2.0133: invalid memory access with search command Commit: https://github.com/vim/vim/commit/98a336dd497d3422e7efeef9f24cc9e25aeb8a49 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jan 20 20:22:30 2020 +0100 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 #5511)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Jan 2020 20:30:04 +0100
parents ed246d4c46ba
children f12eda320c78
line wrap: on
line diff
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -1449,3 +1449,8 @@ func Test_searchdecl()
 
   bwipe!
 endfunc
+
+func Test_search_special()
+  " this was causing illegal memory access
+  exe "norm /\x80PS"
+endfunc