1
0
forked from aniani/vim

patch 8.2.5097: using uninitialized memory when using 'listchars'

Problem:    Using uninitialized memory when using 'listchars'.
Solution:   Use the length returned by mb_char2bytes(). (closes #10576)
This commit is contained in:
Bram Moolenaar
2022-06-15 12:12:44 +01:00
parent 377d92a912
commit 74ac29cecd
2 changed files with 5 additions and 2 deletions

View File

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