From: Bram Moolenaar Date: Fri, 19 Jun 2015 19:06:11 +0000 (+0200) Subject: patch 7.4.748 X-Git-Tag: v7.4.748 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6a7e2a668b492b5b574e489790e349a9058e2a48;p=vim patch 7.4.748 Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama) --- diff --git a/src/eval.c b/src/eval.c index 665536c73..452014f75 100644 --- 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; diff --git a/src/version.c b/src/version.c index 4505a3e89..dfc2ed3c5 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 748, /**/ 747, /**/