|
Karsten Hopp |
4b0659 |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
4b0659 |
Subject: Patch 7.4.887
|
|
Karsten Hopp |
4b0659 |
Fcc: outbox
|
|
Karsten Hopp |
4b0659 |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
4b0659 |
Mime-Version: 1.0
|
|
Karsten Hopp |
4b0659 |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
4b0659 |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
4b0659 |
------------
|
|
Karsten Hopp |
4b0659 |
|
|
Karsten Hopp |
4b0659 |
Patch 7.4.887
|
|
Karsten Hopp |
4b0659 |
Problem: Using uninitialized memory for regexp with back reference.
|
|
Karsten Hopp |
4b0659 |
(Dominique Pelle)
|
|
Karsten Hopp |
4b0659 |
Solution: Initialize end_lnum.
|
|
Karsten Hopp |
4b0659 |
Files: src/regexp_nfa.c
|
|
Karsten Hopp |
4b0659 |
|
|
Karsten Hopp |
4b0659 |
|
|
Karsten Hopp |
4b0659 |
*** ../vim-7.4.886/src/regexp_nfa.c 2015-07-10 19:16:27.302493581 +0200
|
|
Karsten Hopp |
4b0659 |
--- src/regexp_nfa.c 2015-09-29 14:46:17.003965566 +0200
|
|
Karsten Hopp |
4b0659 |
***************
|
|
Karsten Hopp |
4b0659 |
*** 4523,4528 ****
|
|
Karsten Hopp |
4b0659 |
--- 4523,4529 ----
|
|
Karsten Hopp |
4b0659 |
sub->list.multi[subidx].start_col =
|
|
Karsten Hopp |
4b0659 |
(colnr_T)(reginput - regline + off);
|
|
Karsten Hopp |
4b0659 |
}
|
|
Karsten Hopp |
4b0659 |
+ sub->list.multi[subidx].end_lnum = -1;
|
|
Karsten Hopp |
4b0659 |
}
|
|
Karsten Hopp |
4b0659 |
else
|
|
Karsten Hopp |
4b0659 |
{
|
|
Karsten Hopp |
4b0659 |
*** ../vim-7.4.886/src/version.c 2015-09-29 14:01:08.059935930 +0200
|
|
Karsten Hopp |
4b0659 |
--- src/version.c 2015-09-29 14:48:14.250754469 +0200
|
|
Karsten Hopp |
4b0659 |
***************
|
|
Karsten Hopp |
4b0659 |
*** 743,744 ****
|
|
Karsten Hopp |
4b0659 |
--- 743,746 ----
|
|
Karsten Hopp |
4b0659 |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
4b0659 |
+ /**/
|
|
Karsten Hopp |
4b0659 |
+ 887,
|
|
Karsten Hopp |
4b0659 |
/**/
|
|
Karsten Hopp |
4b0659 |
|
|
Karsten Hopp |
4b0659 |
--
|
|
Karsten Hopp |
4b0659 |
Bypasses are devices that allow some people to dash from point A to
|
|
Karsten Hopp |
4b0659 |
point B very fast while other people dash from point B to point A very
|
|
Karsten Hopp |
4b0659 |
fast. People living at point C, being a point directly in between, are
|
|
Karsten Hopp |
4b0659 |
often given to wonder what's so great about point A that so many people
|
|
Karsten Hopp |
4b0659 |
from point B are so keen to get there and what's so great about point B
|
|
Karsten Hopp |
4b0659 |
that so many people from point A are so keen to get there. They often
|
|
Karsten Hopp |
4b0659 |
wish that people would just once and for all work out where the hell
|
|
Karsten Hopp |
4b0659 |
they wanted to be.
|
|
Karsten Hopp |
4b0659 |
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
|
|
Karsten Hopp |
4b0659 |
|
|
Karsten Hopp |
4b0659 |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
4b0659 |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
4b0659 |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
4b0659 |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|