0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.0.0942: using freed memory with ":terminal"

Problem:    Using freed memory with ":terminal" if an autocommand changes
            'shell' when splitting the window. (Marius Gedminas)
Solution:   Make a copy of 'shell'. (closes #1974)
This commit is contained in:
Bram Moolenaar
2017-08-14 22:56:27 +02:00
parent 05fbfdcda4
commit 4fa1019f80
2 changed files with 8 additions and 2 deletions

View File

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