summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-06-19 21:06:11 +0200
committerBram Moolenaar <Bram@vim.org>2015-06-19 21:06:11 +0200
commit6a7e2a668b492b5b574e489790e349a9058e2a48 (patch)
treeaaed7fbe6bb48d5913c4f997fb53b0a330bfb140 /src/eval.c
parente2db6c975b97685ca58bd767a2b98cd8a94c1938 (diff)
downloadvim-6a7e2a668b492b5b574e489790e349a9058e2a48.zip
patch 7.4.748
Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama)
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
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;