|
Karsten Hopp |
916558 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
916558 |
Subject: Patch 7.4.599
|
|
Karsten Hopp |
916558 |
Fcc: outbox
|
|
Karsten Hopp |
916558 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
916558 |
Mime-Version: 1.0
|
|
Karsten Hopp |
916558 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
916558 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
916558 |
------------
|
|
Karsten Hopp |
916558 |
|
|
Karsten Hopp |
916558 |
Patch 7.4.599
|
|
Karsten Hopp |
916558 |
Problem: Out-of-memory error.
|
|
Karsten Hopp |
916558 |
Solution: Avoid trying to allocate a negative amount of memory, use size_t
|
|
Karsten Hopp |
916558 |
instead of int. (Dominique Pelle)
|
|
Karsten Hopp |
916558 |
Files: src/regexp_nfa.c
|
|
Karsten Hopp |
916558 |
|
|
Karsten Hopp |
916558 |
|
|
Karsten Hopp |
916558 |
*** ../vim-7.4.598/src/regexp_nfa.c 2015-01-27 12:59:51.855602435 +0100
|
|
Karsten Hopp |
916558 |
--- src/regexp_nfa.c 2015-01-27 14:33:25.798181195 +0100
|
|
Karsten Hopp |
916558 |
***************
|
|
Karsten Hopp |
916558 |
*** 5408,5414 ****
|
|
Karsten Hopp |
916558 |
regsubs_T *m;
|
|
Karsten Hopp |
916558 |
{
|
|
Karsten Hopp |
916558 |
int result;
|
|
Karsten Hopp |
916558 |
! int size = 0;
|
|
Karsten Hopp |
916558 |
int flag = 0;
|
|
Karsten Hopp |
916558 |
int go_to_nextline = FALSE;
|
|
Karsten Hopp |
916558 |
nfa_thread_T *t;
|
|
Karsten Hopp |
916558 |
--- 5408,5414 ----
|
|
Karsten Hopp |
916558 |
regsubs_T *m;
|
|
Karsten Hopp |
916558 |
{
|
|
Karsten Hopp |
916558 |
int result;
|
|
Karsten Hopp |
916558 |
! size_t size = 0;
|
|
Karsten Hopp |
916558 |
int flag = 0;
|
|
Karsten Hopp |
916558 |
int go_to_nextline = FALSE;
|
|
Karsten Hopp |
916558 |
nfa_thread_T *t;
|
|
Karsten Hopp |
916558 |
*** ../vim-7.4.598/src/version.c 2015-01-27 14:09:29.625898193 +0100
|
|
Karsten Hopp |
916558 |
--- src/version.c 2015-01-27 14:29:06.733017025 +0100
|
|
Karsten Hopp |
916558 |
***************
|
|
Karsten Hopp |
916558 |
*** 743,744 ****
|
|
Karsten Hopp |
916558 |
--- 743,746 ----
|
|
Karsten Hopp |
916558 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
916558 |
+ /**/
|
|
Karsten Hopp |
916558 |
+ 599,
|
|
Karsten Hopp |
916558 |
/**/
|
|
Karsten Hopp |
916558 |
|
|
Karsten Hopp |
916558 |
--
|
|
Karsten Hopp |
916558 |
You cannot have a baby in one month by getting nine women pregnant.
|
|
Karsten Hopp |
916558 |
|
|
Karsten Hopp |
916558 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
916558 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
916558 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
916558 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|