4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using input() with a wrong argument may crash Vim. (A.Politz)
12 Solution: Init the input() return value to NULL.
16 *** ../vim-7.1.111/src/eval.c Thu Sep 13 20:39:58 2007
17 --- src/eval.c Sat Sep 15 19:04:51 2007
20 char_u *xp_arg = NULL;
22 rettv->v_type = VAR_STRING;
24 #ifdef NO_CONSOLE_INPUT
25 /* While starting up, there is no place to enter text. */
26 if (no_console_input())
28 - rettv->vval.v_string = NULL;
33 cmd_silent = FALSE; /* Want to see the prompt. */
35 char_u *xp_arg = NULL;
37 rettv->v_type = VAR_STRING;
38 + rettv->vval.v_string = NULL;
40 #ifdef NO_CONSOLE_INPUT
41 /* While starting up, there is no place to enter text. */
42 if (no_console_input())
46 cmd_silent = FALSE; /* Want to see the prompt. */
47 *** ../vim-7.1.111/src/version.c Sun Sep 16 13:26:56 2007
48 --- src/version.c Sun Sep 16 14:19:04 2007
52 { /* Add new patch number below this line */
58 The early bird gets the worm. If you want something else for
59 breakfast, get up later.
61 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
62 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
63 \\\ download, build and distribute -- http://www.A-A-P.org ///
64 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///