commit | adfde115d5c9c9ac4a052874bcf85d2507fe1355 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat May 25 22:11:45 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat May 25 22:11:45 2019 +0200 |
tree | 6f5c660848af238e11b72d819002da1d4cfc5909 | |
parent | a5e44600ebb02057fb15ae7a2f15c5cae8f63bcc [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 2d4c3c0..3dad141 100644 --- a/src/version.c +++ b/src/version.c
@@ -768,6 +768,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1395, +/**/ 1394, /**/ 1393,