commit | 110289e78195b6d01e1e6ad26ad450de476d41c1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu May 23 15:38:06 2019 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu May 23 15:38:06 2019 +0200 |
tree | e8ebd689bcacaca15fc28fae19e020c79c5539c9 | |
parent | 53575521406739cf20bbe4e384d88e7dca11f040 [diff] [blame] |
patch 8.1.1366: using expressions in a modeline is unsafe Problem: Using expressions in a modeline is unsafe. Solution: Disallow using expressions in a modeline, unless the 'modelineexpr' option is set. Update help, add more tests.
diff --git a/src/version.c b/src/version.c index b2fcbfb..bcc9aef 100644 --- a/src/version.c +++ b/src/version.c
@@ -768,6 +768,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1366, +/**/ 1365, /**/ 1364,