mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4931: Crash with sequence of Perl commands
Problem: Crash with sequence of Perl commands. Solution: Move PUTBACK to another line. (closes #10386)
This commit is contained in:
@@ -1373,6 +1373,7 @@ do_perleval(char_u *str, typval_T *rettv)
|
||||
SPAGAIN;
|
||||
SvREFCNT_dec(sv);
|
||||
sv = POPs;
|
||||
PUTBACK;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -1383,7 +1384,6 @@ do_perleval(char_u *str, typval_T *rettv)
|
||||
ref_map_free();
|
||||
err = SvPV(GvSV(PL_errgv), err_len);
|
||||
}
|
||||
PUTBACK;
|
||||
FREETMPS;
|
||||
LEAVE;
|
||||
}
|
||||
|
@@ -746,6 +746,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4931,
|
||||
/**/
|
||||
4930,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user