]> granicus.if.org Git - vim/commitdiff
patch 7.4.748 v7.4.748
authorBram Moolenaar <Bram@vim.org>
Fri, 19 Jun 2015 19:06:11 +0000 (21:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 19 Jun 2015 19:06:11 +0000 (21:06 +0200)
Problem:    Buffer overflow.
Solution:   Make the buffer larger. (Kazunobu Kuriyama)

src/eval.c
src/version.c

index 665536c737d254522d869cf10799ffc44b5b52ed..452014f75e365395d39ab7357527339915fe6f5d 100644 (file)
@@ -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;
index 4505a3e898a86776200e014fbd82a2683837691e..dfc2ed3c5ec54a6c71a32f3d3e943e266f8c8a9a 100644 (file)
@@ -741,6 +741,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    748,
 /**/
     747,
 /**/