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

patch 8.1.1395: saving for undo may access invalid memory

Problem:    Saving for undo may access invalid memory. (Dominique Pelle)
Solution:   Set ml_line_len also when returning a constant string.
This commit is contained in:
Bram Moolenaar
2019-05-25 22:11:45 +02:00
parent a5e44600eb
commit adfde115d5
3 changed files with 17 additions and 2 deletions

View File

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