]>
Commit | Line | Data |
---|---|---|
a2e11672 AG |
1 | To: vim_dev@googlegroups.com |
2 | Subject: Patch 7.3.243 | |
3 | Fcc: outbox | |
4 | From: Bram Moolenaar <Bram@moolenaar.net> | |
5 | Mime-Version: 1.0 | |
6 | Content-Type: text/plain; charset=UTF-8 | |
7 | Content-Transfer-Encoding: 8bit | |
8 | ------------ | |
9 | ||
10 | Patch 7.3.243 | |
11 | Problem: Illegal memory access in readline(). | |
12 | Solution: Swap the conditions. (Dominique Pelle) | |
13 | Files: src/eval.c | |
14 | ||
15 | ||
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 | |
18 | *************** | |
19 | *** 14318,14324 **** | |
20 | tolist = 0; | |
21 | for ( ; filtd < buflen || readlen <= 0; ++filtd) | |
22 | { | |
23 | ! if (buf[filtd] == '\n' || readlen <= 0) | |
24 | { | |
25 | /* In binary mode add an empty list item when the last | |
26 | * non-empty line ends in a '\n'. */ | |
27 | --- 14318,14324 ---- | |
28 | tolist = 0; | |
29 | for ( ; filtd < buflen || readlen <= 0; ++filtd) | |
30 | { | |
31 | ! if (readlen <= 0 || buf[filtd] == '\n') | |
32 | { | |
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 | |
37 | *************** | |
38 | *** 711,712 **** | |
39 | --- 711,714 ---- | |
40 | { /* Add new patch number below this line */ | |
41 | + /**/ | |
42 | + 243, | |
43 | /**/ | |
44 | ||
45 | -- | |
46 | hundred-and-one symptoms of being an internet addict: | |
47 | 261. You find diskettes in your pockets when doing laundry. | |
48 | ||
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 /// |