1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Illegal memory access in readline().
12 Solution: Swap the conditions. (Dominique Pelle)
16 *** ../vim-7.3.242/src/eval.c 2011-07-07 16:20:45.000000000 +0200
17 --- src/eval.c 2011-07-07 17:32:16.000000000 +0200
21 for ( ; filtd < buflen || readlen <= 0; ++filtd)
23 ! if (buf[filtd] == '\n' || readlen <= 0)
25 /* In binary mode add an empty list item when the last
26 * non-empty line ends in a '\n'. */
29 for ( ; filtd < buflen || readlen <= 0; ++filtd)
31 ! if (readlen <= 0 || buf[filtd] == '\n')
33 /* In binary mode add an empty list item when the last
34 * non-empty line ends in a '\n'. */
35 *** ../vim-7.3.242/src/version.c 2011-07-07 17:15:29.000000000 +0200
36 --- src/version.c 2011-07-07 17:32:30.000000000 +0200
40 { /* Add new patch number below this line */
46 hundred-and-one symptoms of being an internet addict:
47 261. You find diskettes in your pockets when doing laundry.
49 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
50 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
51 \\\ an exciting new programming language -- http://www.Zimbu.org ///
52 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///