Skip to content

Commit 1cf531a

Browse files
brammooldouglaskayama
authored andcommitted
patch 7.4.748 Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama)
1 parent 22c8ade commit 1cf531a

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/eval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17185,7 +17185,7 @@ f_setmatches(argvars, rettv)
1718517185
while (li != NULL)
1718617186
{
1718717187
int i = 0;
17188-
char_u buf[4];
17188+
char_u buf[5];
1718917189
dictitem_T *di;
1719017190

1719117191
d = li->li_tv.vval.v_dict;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,8 @@ static char *(features[]) =
756756

757757
static int included_patches[] =
758758
{ /* Add new patch number below this line */
759+
/**/
760+
748,
759761
/**/
760762
747,
761763
/**/

0 commit comments

Comments
 (0)