commit | d88934406c5375d88f8f1b65331c9f0cab68cc6c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 06 20:38:47 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 06 20:38:47 2022 +0100 |
tree | 1d494ce256adb31317dd457e16999c37fa701972 | |
parent | 5a7b6dc23cd16450b5773849520d513de56bccbf [diff] [blame] |
patch 8.2.4895: buffer overflow with invalid command with composing chars Problem: Buffer overflow with invalid command with composing chars. Solution: Check that the whole character fits in the buffer.
diff --git a/src/version.c b/src/version.c index 0857bcb..df30685 100644 --- a/src/version.c +++ b/src/version.c
@@ -747,6 +747,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4895, +/**/ 4894, /**/ 4893,