patch 7.4.748 Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama)

This commit is contained in:
Bram Moolenaar
2015-06-19 21:06:36 +02:00
committed by Douglas Drumond
parent 22c8ade399
commit 1cf531a4c7
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -17185,7 +17185,7 @@ f_setmatches(argvars, rettv)
while (li != NULL)
{
int i = 0;
char_u buf[4];
char_u buf[5];
dictitem_T *di;
d = li->li_tv.vval.v_dict;
+2
View File
@@ -756,6 +756,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
748,
/**/
747,
/**/