]> granicus.if.org Git - vim/commit
patch 8.1.0013: using freed memory when changing terminal cursor color v8.1.0013
authorBram Moolenaar <Bram@vim.org>
Mon, 21 May 2018 12:55:28 +0000 (14:55 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 21 May 2018 12:55:28 +0000 (14:55 +0200)
commit4f7fd56b423245786f223a370c6fbfc12e3f37eb
tree6e45972d71a230bfb2217af048788a1af0224c83
parent1f131aee0ed4383009c0a67cc15581cc4c0dcad7
patch 8.1.0013: using freed memory when changing terminal cursor color

Problem:    Using freed memory when changing terminal cursor color.
Solution:   Make a copy of the color. (Dominique Pelle, closes #2938,
            closes #2941)
src/terminal.c
src/version.c