patch 8.2.3721: using memory freed by losing the clipboard selection

Problem:    Using memory freed by losing the clipboard selection. (Dominique
            Pellé)
Solution:   Check y_array is still valid after calling changed_lines().
            (closes #9253)
This commit is contained in:
Bram Moolenaar
2021-12-02 18:42:33 +00:00
parent 69c76171f1
commit 9ac38129b6
3 changed files with 14 additions and 1 deletions

View File

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