changeset 6856:566e193323ce v7.4.748

patch 7.4.748 Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama)
author Bram Moolenaar <bram@vim.org>
date Fri, 19 Jun 2015 21:06:11 +0200
parents ee45d3b0579b
children 2957a57decad
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -17157,7 +17157,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;
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    748,
+/**/
     747,
 /**/
     746,