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