1
0
forked from aniani/vim

patch 8.2.2374: accessing uninitialized memory in test_undo

Problem:    Accessing uninitialized memory in test_undo.
Solution:   Do not look in typebuf.tb_buf if it is empty. (Dominique Pellé,
            closes #7697)
This commit is contained in:
Bram Moolenaar
2021-01-17 22:04:02 +01:00
parent f30a14db3b
commit 82aa6e09e0
2 changed files with 3 additions and 1 deletions

View File

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