]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.573
- up to 7.3.600
[packages/vim.git] / 7.3.573
CommitLineData
8bb52fd3
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.573
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.573
11Problem: Using array index before bounds checking.
12Solution: Swap the parts of the condition. (Dominique Pelle)
13Files: src/ops.c
14
15
16*** ../vim-7.3.572/src/ops.c 2012-06-13 17:28:51.000000000 +0200
17--- src/ops.c 2012-06-29 13:27:11.000000000 +0200
18***************
19*** 6458,6464 ****
20 long chars = 0;
21 int is_word = 0;
22
23! for (i = 0; line[i] && i < limit; )
24 {
25 if (is_word)
26 {
27--- 6458,6464 ----
28 long chars = 0;
29 int is_word = 0;
30
31! for (i = 0; i < limit && line[i] != NUL; )
32 {
33 if (is_word)
34 {
35*** ../vim-7.3.572/src/version.c 2012-06-29 13:19:23.000000000 +0200
36--- src/version.c 2012-06-29 13:27:59.000000000 +0200
37***************
38*** 716,717 ****
39--- 716,719 ----
40 { /* Add new patch number below this line */
41+ /**/
42+ 573,
43 /**/
44
45--
46"Thou shalt not follow the Null Pointer, for at its end Chaos and
47Madness lie."
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 ///
This page took 0.038832 seconds and 4 git commands to generate.