From d314229aa657bc23c0fc99aa79a347326095b190 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 8 May 2024 07:05:20 +0200 Subject: Adding debian version 2:8.1.0875-5+deb10u3. Signed-off-by: Daniel Baumann --- debian/patches/CVE-2022-0685.patch | 47 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 debian/patches/CVE-2022-0685.patch (limited to 'debian/patches/CVE-2022-0685.patch') diff --git a/debian/patches/CVE-2022-0685.patch b/debian/patches/CVE-2022-0685.patch new file mode 100644 index 0000000..14e5210 --- /dev/null +++ b/debian/patches/CVE-2022-0685.patch @@ -0,0 +1,47 @@ +From: Markus Koschany +Date: Sun, 30 Oct 2022 20:51:31 +0100 +Subject: CVE-2022-0685 + +Origin: https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f87 +--- + src/charset.c | 6 ++++++ + src/proto/charset.pro | 2 +- + src/testdir/test_autochdir.vim | 9 +++++++++ + src/version.c | 2 ++ + 4 files changed, 18 insertions(+), 1 deletion(-) + +diff --git a/src/charset.c b/src/charset.c +index 1fbbaee..427686d 100644 +--- a/src/charset.c ++++ b/src/charset.c +@@ -1672,6 +1672,12 @@ vim_isupper(int c) + return isupper(c); + } + ++ int ++vim_isalpha(int c) ++{ ++ return vim_islower(c) || vim_isupper(c); ++} ++ + int + vim_toupper(int c) + { +diff --git a/src/proto/charset.pro b/src/proto/charset.pro +index bb4132f..c078ff6 100644 +--- a/src/proto/charset.pro ++++ b/src/proto/charset.pro +@@ -48,6 +48,7 @@ int vim_isxdigit(int c); + int vim_isbdigit(int c); + int vim_islower(int c); + int vim_isupper(int c); ++int vim_isalpha(int c); + int vim_toupper(int c); + int vim_tolower(int c); + char_u *skiptowhite(char_u *p); +@@ -60,5 +61,4 @@ int hexhex2nr(char_u *p); + int rem_backslash(char_u *str); + void backslash_halve(char_u *p); + char_u *backslash_halve_save(char_u *p); +-void ebcdic2ascii(char_u *buffer, int len); + /* vim: set ft=c : */ -- cgit v1.2.3