summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2022-3352.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/CVE-2022-3352.patch')
-rw-r--r--debian/patches/CVE-2022-3352.patch8
1 files changed, 2 insertions, 6 deletions
diff --git a/debian/patches/CVE-2022-3352.patch b/debian/patches/CVE-2022-3352.patch
index f55e40d..e5808ef 100644
--- a/debian/patches/CVE-2022-3352.patch
+++ b/debian/patches/CVE-2022-3352.patch
@@ -14,8 +14,6 @@ Solution: Disallow deleting the current buffer to avoid using freed memory.
Backport: src/buffer.c isn't vulnerable yet
-diff --git a/src/spell.c b/src/spell.c
-index 628814fe6db3..975b5a6789a9 100644
--- a/src/spell.c
+++ b/src/spell.c
@@ -1813,6 +1813,10 @@ spell_load_lang(char_u *lang)
@@ -38,11 +36,9 @@ index 628814fe6db3..975b5a6789a9 100644
}
/*
-diff --git a/src/testdir/test_autocmd.vim b/src/testdir/test_autocmd.vim
-index 86732f15dbe4..70f0f553a226 100644
--- a/src/testdir/test_autocmd.vim
+++ b/src/testdir/test_autocmd.vim
-@@ -1416,3 +1416,14 @@
+@@ -1416,3 +1416,14 @@ func Test_Changed_FirstTime()
endfunc
" FileChangedShell tested in test_filechanged.vim
@@ -59,7 +55,7 @@ index 86732f15dbe4..70f0f553a226 100644
+
--- a/src/version.c
+++ b/src/version.c
-@@ -2620,6 +2620,7 @@
+@@ -2620,6 +2620,7 @@ static char *(extra_patches[]) =
"8.2.3428",
"9.0.0490",
"9.0.0530",