summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2022-0361.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/CVE-2022-0361.patch')
-rw-r--r--debian/patches/CVE-2022-0361.patch8
1 files changed, 2 insertions, 6 deletions
diff --git a/debian/patches/CVE-2022-0361.patch b/debian/patches/CVE-2022-0361.patch
index d1354ed..dae21d1 100644
--- a/debian/patches/CVE-2022-0361.patch
+++ b/debian/patches/CVE-2022-0361.patch
@@ -8,11 +8,9 @@ Origin: https://github.com/vim/vim/commit/dc5490e2cbc8c16022a23b449b48c1bd0083f3
src/testdir/test_visual.vim | 11 +++++++++++
2 files changed, 13 insertions(+)
-diff --git a/src/ex_cmds.c b/src/ex_cmds.c
-index 0b732c2..b18f58c 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
-@@ -1074,6 +1074,8 @@ ex_copy(linenr_T line1, linenr_T line2, linenr_T n)
+@@ -1074,6 +1074,8 @@ ex_copy(linenr_T line1, linenr_T line2,
}
appended_lines_mark(n, count);
@@ -21,11 +19,9 @@ index 0b732c2..b18f58c 100644
msgmore((long)count);
}
-diff --git a/src/testdir/test_visual.vim b/src/testdir/test_visual.vim
-index 0841952..e361f97 100644
--- a/src/testdir/test_visual.vim
+++ b/src/testdir/test_visual.vim
-@@ -417,3 +417,14 @@ func Test_visual_block_append_invalid_char()
+@@ -417,3 +417,14 @@ func Test_visual_block_append_invalid_ch
bwipe!
endfunc