diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-08 05:09:06 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-08 05:09:06 +0000 |
commit | fe9135eaa14adace367ce3e0de55c4b53e5223c8 (patch) | |
tree | cf0f56b778db5c718f20f8d2ab7058b159b8437c /debian/patches/CVE-2022-0685.patch | |
parent | Adding debian version 2:8.1.0875-5+deb10u4. (diff) | |
download | vim-debian/2%8.1.0875-5+deb10u5.tar.xz vim-debian/2%8.1.0875-5+deb10u5.zip |
Adding debian version 2:8.1.0875-5+deb10u5.debian/2%8.1.0875-5+deb10u5
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/patches/CVE-2022-0685.patch | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/debian/patches/CVE-2022-0685.patch b/debian/patches/CVE-2022-0685.patch index 14e5210..054765b 100644 --- a/debian/patches/CVE-2022-0685.patch +++ b/debian/patches/CVE-2022-0685.patch @@ -10,25 +10,21 @@ Origin: https://github.com/vim/vim/commit/5921aeb5741fc6e84c870d68c7c35b93ad0c9f 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); +@@ -1673,6 +1673,12 @@ vim_isupper(int c) } -+ int + int +vim_isalpha(int c) +{ + return vim_islower(c) || vim_isupper(c); +} + - int ++ int vim_toupper(int c) { -diff --git a/src/proto/charset.pro b/src/proto/charset.pro -index bb4132f..c078ff6 100644 + if (c <= '@') --- a/src/proto/charset.pro +++ b/src/proto/charset.pro @@ -48,6 +48,7 @@ int vim_isxdigit(int c); |