0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.1.2178: accessing uninitialized memory in test

Problem:    Accessing uninitialized memory in test.
Solution:   Check if there was a match before using the match position.
            (Dominique Pelle, closes #5088)
This commit is contained in:
Bram Moolenaar
2019-10-19 14:35:02 +02:00
parent afbdb905c3
commit 15ee567809
2 changed files with 6 additions and 3 deletions

View File

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