1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2022-05-06 20:38:47 +01:00
parent 5a7b6dc23c
commit d88934406c
3 changed files with 16 additions and 1 deletions

View File

@@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4895,
/**/
4894,
/**/