|
|
3ef2ca |
To: vim_dev@googlegroups.com
|
|
|
3ef2ca |
Subject: Patch 7.4.390
|
|
|
3ef2ca |
Fcc: outbox
|
|
|
3ef2ca |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
|
3ef2ca |
Mime-Version: 1.0
|
|
|
3ef2ca |
Content-Type: text/plain; charset=UTF-8
|
|
|
3ef2ca |
Content-Transfer-Encoding: 8bit
|
|
|
3ef2ca |
------------
|
|
|
3ef2ca |
|
|
|
3ef2ca |
Patch 7.4.390
|
|
|
3ef2ca |
Problem: Advancing pointer over end of a string.
|
|
|
3ef2ca |
Solution: Init quote character to -1 instead of zero. (Dominique Pelle)
|
|
|
3ef2ca |
Files: src/misc1.c
|
|
|
3ef2ca |
|
|
|
3ef2ca |
|
|
|
3ef2ca |
*** ../vim-7.4.389/src/misc1.c 2014-07-03 22:57:51.299862927 +0200
|
|
|
3ef2ca |
--- src/misc1.c 2014-08-06 12:43:33.191291602 +0200
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 5503,5509 ****
|
|
|
3ef2ca |
char_u *text;
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
char_u *s = skipwhite(text);
|
|
|
3ef2ca |
! int quote = 0;
|
|
|
3ef2ca |
|
|
|
3ef2ca |
if (*s == '\'' || *s == '"')
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
--- 5503,5509 ----
|
|
|
3ef2ca |
char_u *text;
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
char_u *s = skipwhite(text);
|
|
|
3ef2ca |
! int quote = -1;
|
|
|
3ef2ca |
|
|
|
3ef2ca |
if (*s == '\'' || *s == '"')
|
|
|
3ef2ca |
{
|
|
|
3ef2ca |
*** ../vim-7.4.389/src/version.c 2014-07-30 17:21:53.819518506 +0200
|
|
|
3ef2ca |
--- src/version.c 2014-08-06 12:44:31.643291182 +0200
|
|
|
3ef2ca |
***************
|
|
|
3ef2ca |
*** 736,737 ****
|
|
|
3ef2ca |
--- 736,739 ----
|
|
|
3ef2ca |
{ /* Add new patch number below this line */
|
|
|
3ef2ca |
+ /**/
|
|
|
3ef2ca |
+ 390,
|
|
|
3ef2ca |
/**/
|
|
|
3ef2ca |
|
|
|
3ef2ca |
--
|
|
|
3ef2ca |
A radioactive cat has eighteen half-lives.
|
|
|
3ef2ca |
|
|
|
3ef2ca |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
|
3ef2ca |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
|
3ef2ca |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
|
3ef2ca |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|