|
Karsten Hopp |
72e344 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
72e344 |
Subject: Patch 7.4.816
|
|
Karsten Hopp |
72e344 |
Fcc: outbox
|
|
Karsten Hopp |
72e344 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
72e344 |
Mime-Version: 1.0
|
|
Karsten Hopp |
72e344 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
72e344 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
72e344 |
------------
|
|
Karsten Hopp |
72e344 |
|
|
Karsten Hopp |
72e344 |
Patch 7.4.816
|
|
Karsten Hopp |
72e344 |
Problem: Invalid memory access when doing ":fun X(".
|
|
Karsten Hopp |
72e344 |
Solution: Check for missing ')'. (Dominique Pelle)
|
|
Karsten Hopp |
72e344 |
Files: src/eval.c
|
|
Karsten Hopp |
72e344 |
|
|
Karsten Hopp |
72e344 |
|
|
Karsten Hopp |
72e344 |
*** ../vim-7.4.815/src/eval.c 2015-08-11 15:46:04.544078510 +0200
|
|
Karsten Hopp |
72e344 |
--- src/eval.c 2015-08-11 15:51:17.552562474 +0200
|
|
Karsten Hopp |
72e344 |
***************
|
|
Karsten Hopp |
72e344 |
*** 22557,22562 ****
|
|
Karsten Hopp |
72e344 |
--- 22557,22564 ----
|
|
Karsten Hopp |
72e344 |
break;
|
|
Karsten Hopp |
72e344 |
}
|
|
Karsten Hopp |
72e344 |
}
|
|
Karsten Hopp |
72e344 |
+ if (*p != ')')
|
|
Karsten Hopp |
72e344 |
+ goto erret;
|
|
Karsten Hopp |
72e344 |
++p; /* skip the ')' */
|
|
Karsten Hopp |
72e344 |
|
|
Karsten Hopp |
72e344 |
/* find extra arguments "range", "dict" and "abort" */
|
|
Karsten Hopp |
72e344 |
*** ../vim-7.4.815/src/version.c 2015-08-11 15:46:04.544078510 +0200
|
|
Karsten Hopp |
72e344 |
--- src/version.c 2015-08-11 15:51:37.380339593 +0200
|
|
Karsten Hopp |
72e344 |
***************
|
|
Karsten Hopp |
72e344 |
*** 743,744 ****
|
|
Karsten Hopp |
72e344 |
--- 743,746 ----
|
|
Karsten Hopp |
72e344 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
72e344 |
+ /**/
|
|
Karsten Hopp |
72e344 |
+ 816,
|
|
Karsten Hopp |
72e344 |
/**/
|
|
Karsten Hopp |
72e344 |
|
|
Karsten Hopp |
72e344 |
--
|
|
Karsten Hopp |
72e344 |
Individualists unite!
|
|
Karsten Hopp |
72e344 |
|
|
Karsten Hopp |
72e344 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
72e344 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
72e344 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
72e344 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|