summaryrefslogtreecommitdiffstats
path: root/debian/patches/CVE-2022-0629.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/CVE-2022-0629.patch')
-rw-r--r--debian/patches/CVE-2022-0629.patch16
1 files changed, 5 insertions, 11 deletions
diff --git a/debian/patches/CVE-2022-0629.patch b/debian/patches/CVE-2022-0629.patch
index b3348ef..7c32714 100644
--- a/debian/patches/CVE-2022-0629.patch
+++ b/debian/patches/CVE-2022-0629.patch
@@ -12,8 +12,6 @@ Solution: Use mb_cptr2char_adv() instead of mb_ptr2char_adv().
src/version.c | 2 ++
3 files changed, 11 insertions(+), 1 deletion(-)
-diff --git a/src/testdir/test_assert.vim b/src/testdir/test_assert.vim
-index 8987f3f8dfcd..27b2d73fbfc8 100644
--- a/src/testdir/test_assert.vim
+++ b/src/testdir/test_assert.vim
@@ -35,6 +35,14 @@ func Test_assert_equal()
@@ -31,11 +29,9 @@ index 8987f3f8dfcd..27b2d73fbfc8 100644
endfunc
func Test_assert_equalfile()
-diff --git a/src/testing.c b/src/testing.c
-index 448c01c1e964..48ba14d2cafd 100644
--- a/src/eval.c
+++ b/src/eval.c
-@@ -101,7 +101,7 @@ ga_concat_shorten_esc(garray_T *gap, char_u *str)
+@@ -9558,7 +9558,7 @@ ga_concat_shorten_esc(garray_T *gap, cha
{
same_len = 1;
s = p;
@@ -44,16 +40,14 @@ index 448c01c1e964..48ba14d2cafd 100644
clen = s - p;
while (*s != NUL && c == mb_ptr2char(s))
{
-diff --git a/src/version.c b/src/version.c
-index fb1b8476e1a6..b4983661cadc 100644
--- a/src/version.c
+++ b/src/version.c
-@@ -795,6 +795,8 @@ static char *(features[]) =
- 805,
+@@ -796,6 +796,8 @@ static int included_patches[] =
/**/
5024,
-+/**/
-+ 4397,
/**/
++ 4397,
++/**/
4218,
/**/
+ 4214,