4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: It is possible to set arbitrary "v:" variables.
12 Solution: Disallow setting "v:" variables that are not predefined.
16 *** ../vim-7.0.023/src/eval.c Sat May 13 13:36:47 2006
17 --- src/eval.c Thu Jun 22 17:27:51 2006
22 else /* add a new variable */
24 + /* Can't add "v:" variable. */
25 + if (ht == &vimvarht)
27 + EMSG2(_(e_illvar), name);
31 /* Make sure the variable name is valid. */
32 for (p = varname; *p != NUL; ++p)
33 if (!eval_isnamec1(*p) && (p == varname || !VIM_ISDIGIT(*p))
34 *** ../vim-7.0.023/src/version.c Thu Jun 22 16:48:43 2006
35 --- src/version.c Thu Jun 22 17:30:59 2006
39 { /* Add new patch number below this line */
45 ARTHUR: No, hang on! Just answer the five questions ...
46 GALAHAD: Three questions ...
47 ARTHUR: Three questions ... And we shall watch ... and pray.
48 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
50 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
51 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
52 \\\ download, build and distribute -- http://www.A-A-P.org ///
53 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///