|
Karsten Hopp |
2a30e6 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
2a30e6 |
Subject: Patch 7.4.054
|
|
Karsten Hopp |
2a30e6 |
Fcc: outbox
|
|
Karsten Hopp |
2a30e6 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
2a30e6 |
Mime-Version: 1.0
|
|
Karsten Hopp |
2a30e6 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
2a30e6 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
2a30e6 |
------------
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
Patch 7.4.054
|
|
Karsten Hopp |
2a30e6 |
Problem: Reading past end of the 'stl' string.
|
|
Karsten Hopp |
2a30e6 |
Solution: Don't increment pointer when already at the NUL. (Christian
|
|
Karsten Hopp |
2a30e6 |
Brabandt)
|
|
Karsten Hopp |
2a30e6 |
Files: src/buffer.c
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
*** ../vim-7.4.053/src/buffer.c 2013-08-14 17:11:14.000000000 +0200
|
|
Karsten Hopp |
2a30e6 |
--- src/buffer.c 2013-11-02 04:34:26.000000000 +0100
|
|
Karsten Hopp |
2a30e6 |
***************
|
|
Karsten Hopp |
2a30e6 |
*** 4062,4068 ****
|
|
Karsten Hopp |
2a30e6 |
item[curitem].minwid = -syn_namen2id(t, (int)(s - t));
|
|
Karsten Hopp |
2a30e6 |
curitem++;
|
|
Karsten Hopp |
2a30e6 |
}
|
|
Karsten Hopp |
2a30e6 |
! ++s;
|
|
Karsten Hopp |
2a30e6 |
continue;
|
|
Karsten Hopp |
2a30e6 |
}
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
--- 4062,4069 ----
|
|
Karsten Hopp |
2a30e6 |
item[curitem].minwid = -syn_namen2id(t, (int)(s - t));
|
|
Karsten Hopp |
2a30e6 |
curitem++;
|
|
Karsten Hopp |
2a30e6 |
}
|
|
Karsten Hopp |
2a30e6 |
! if (*s != NUL)
|
|
Karsten Hopp |
2a30e6 |
! ++s;
|
|
Karsten Hopp |
2a30e6 |
continue;
|
|
Karsten Hopp |
2a30e6 |
}
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
*** ../vim-7.4.053/src/version.c 2013-11-02 04:19:10.000000000 +0100
|
|
Karsten Hopp |
2a30e6 |
--- src/version.c 2013-11-02 04:31:50.000000000 +0100
|
|
Karsten Hopp |
2a30e6 |
***************
|
|
Karsten Hopp |
2a30e6 |
*** 740,741 ****
|
|
Karsten Hopp |
2a30e6 |
--- 740,743 ----
|
|
Karsten Hopp |
2a30e6 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
2a30e6 |
+ /**/
|
|
Karsten Hopp |
2a30e6 |
+ 54,
|
|
Karsten Hopp |
2a30e6 |
/**/
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
--
|
|
Karsten Hopp |
2a30e6 |
Every person is responsible for the choices he makes.
|
|
Karsten Hopp |
2a30e6 |
|
|
Karsten Hopp |
2a30e6 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
2a30e6 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
2a30e6 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
2a30e6 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|