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: Memory access error. (Gary Johnson)
12 Solution: Allocate one more byte. (Dominique Pelle)
16 *** ../vim-7.3.557/src/misc1.c 2012-06-14 20:59:20.000000000 +0200
17 --- src/misc1.c 2012-06-20 12:34:57.000000000 +0200
21 * I'm not sure if regmmatch_T (multi-match) is needed in this case.
22 * It may be true that this section would work properly using the
23 ! * regmatch_T code above, in which case, these two seperate sections
24 * should be consolidated w/ FEAT_COMMENTS making lead_len > 0...
29 * I'm not sure if regmmatch_T (multi-match) is needed in this case.
30 * It may be true that this section would work properly using the
31 ! * regmatch_T code above, in which case, these two separate sections
32 * should be consolidated w/ FEAT_COMMENTS making lead_len > 0...
40 ! /* allocate buffer (may concatenate p_exta later) */
41 leader = alloc(lead_len + lead_repl_len + extra_space + extra_len
42 ! + (second_line_indent > 0 ? second_line_indent : 0));
43 allocated = leader; /* remember to free it later */
50 ! /* allocate buffer (may concatenate p_extra later) */
51 leader = alloc(lead_len + lead_repl_len + extra_space + extra_len
52 ! + (second_line_indent > 0 ? second_line_indent : 0) + 1);
53 allocated = leader; /* remember to free it later */
61 ! /* Need some more space. This migth happen when receiving a long
64 buf = vim_realloc(buf, buflen);
69 ! /* Need some more space. This might happen when receiving a long
72 buf = vim_realloc(buf, buflen);
73 *** ../vim-7.3.557/src/version.c 2012-06-20 11:54:55.000000000 +0200
74 --- src/version.c 2012-06-20 12:36:29.000000000 +0200
78 { /* Add new patch number below this line */
84 George: "I just got a new set of golf clubs for my wife!"
87 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
88 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
89 \\\ an exciting new programming language -- http://www.Zimbu.org ///
90 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///