From 9af9fd6ab637ea507dd9015fa5a84a408c36c1e0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 4 Oct 2021 20:09:19 +0100 Subject: [PATCH] patch 8.2.3472: other crashes with empty search pattern not tested MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Problem: Other crashes with empty search pattern not tested. Solution: Add a few more test lines. (Dominique Pellé) --- src/testdir/test_search.vim | 7 +++++-- src/version.c | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim index bc2b3ad7b..bb4e45def 100644 --- a/src/testdir/test_search.vim +++ b/src/testdir/test_search.vim @@ -1982,8 +1982,11 @@ func Test_no_last_search_pattern() let @/ = "" set incsearch - " this was causing a crash - call feedkeys("//\x14", 'xt') + " these were causing a crash + call feedkeys("//\", 'xt') + call feedkeys("//\", 'xt') + call feedkeys("??\", 'xt') + call feedkeys("??\", 'xt') endfunc diff --git a/src/version.c b/src/version.c index b540523b4..7d348c475 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3472, /**/ 3471, /**/ -- 2.50.1