mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 7.4.887
Problem: Using uninitialized memory for regexp with back reference. (Dominique Pelle) Solution: Initialize end_lnum.
This commit is contained in:
parent
1d478a6242
commit
c2b717ebd6
@ -4523,6 +4523,7 @@ skip_add:
|
||||
sub->list.multi[subidx].start_col =
|
||||
(colnr_T)(reginput - regline + off);
|
||||
}
|
||||
sub->list.multi[subidx].end_lnum = -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
887,
|
||||
/**/
|
||||
886,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user