|
Karsten Hopp |
825b96 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
825b96 |
Subject: Patch 7.4.814
|
|
Karsten Hopp |
825b96 |
Fcc: outbox
|
|
Karsten Hopp |
825b96 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
825b96 |
Mime-Version: 1.0
|
|
Karsten Hopp |
825b96 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
825b96 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
825b96 |
------------
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
Patch 7.4.814
|
|
Karsten Hopp |
825b96 |
Problem: Illegal memory access with "sy match a fold".
|
|
Karsten Hopp |
825b96 |
Solution: Check for empty string. (Dominique Pelle)
|
|
Karsten Hopp |
825b96 |
Files: src/syntax.c
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
*** ../vim-7.4.813/src/syntax.c 2015-06-25 18:36:20.511463791 +0200
|
|
Karsten Hopp |
825b96 |
--- src/syntax.c 2015-08-11 15:25:45.521870095 +0200
|
|
Karsten Hopp |
825b96 |
***************
|
|
Karsten Hopp |
825b96 |
*** 5654,5660 ****
|
|
Karsten Hopp |
825b96 |
char_u *cpo_save;
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
/* need at least three chars */
|
|
Karsten Hopp |
825b96 |
! if (arg == NULL || arg[1] == NUL || arg[2] == NUL)
|
|
Karsten Hopp |
825b96 |
return NULL;
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
end = skip_regexp(arg + 1, *arg, TRUE, NULL);
|
|
Karsten Hopp |
825b96 |
--- 5654,5660 ----
|
|
Karsten Hopp |
825b96 |
char_u *cpo_save;
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
/* need at least three chars */
|
|
Karsten Hopp |
825b96 |
! if (arg == NULL || arg[0] == NUL || arg[1] == NUL || arg[2] == NUL)
|
|
Karsten Hopp |
825b96 |
return NULL;
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
end = skip_regexp(arg + 1, *arg, TRUE, NULL);
|
|
Karsten Hopp |
825b96 |
*** ../vim-7.4.813/src/version.c 2015-08-11 14:26:03.598931086 +0200
|
|
Karsten Hopp |
825b96 |
--- src/version.c 2015-08-11 15:24:29.398729091 +0200
|
|
Karsten Hopp |
825b96 |
***************
|
|
Karsten Hopp |
825b96 |
*** 743,744 ****
|
|
Karsten Hopp |
825b96 |
--- 743,746 ----
|
|
Karsten Hopp |
825b96 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
825b96 |
+ /**/
|
|
Karsten Hopp |
825b96 |
+ 814,
|
|
Karsten Hopp |
825b96 |
/**/
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
--
|
|
Karsten Hopp |
825b96 |
Witches prefer brooms: vacuum-cleaners need extension cords!
|
|
Karsten Hopp |
825b96 |
|
|
Karsten Hopp |
825b96 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
825b96 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
825b96 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
825b96 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|