diff options
-rw-r--r-- | src/edit.c | 4 | ||||
-rw-r--r-- | src/testdir/test_search.vim | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c index 8160fe569..f2ae425fa 100644 --- a/src/edit.c +++ b/src/edit.c @@ -4959,9 +4959,9 @@ bracketed_paste(paste_mode_T mode, int drop, garray_T *gap) do c = vgetc(); while (c == K_IGNORE || c == K_VER_SCROLLBAR || c == K_HOR_SCROLLBAR); - if (c == NUL || got_int) + if (c == NUL || got_int || (ex_normal_busy > 0 && c == Ctrl_C)) // When CTRL-C was encountered the typeahead will be flushed and we - // won't get the end sequence. + // won't get the end sequence. Except when using ":normal". break; if (has_mbyte) diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim index 5030deea9..60152f602 100644 --- 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 diff --git a/src/version.c b/src/version.c index 2fb0fc306..6b9055154 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 133, +/**/ 132, /**/ 131, |