diff options
author | Bram Moolenaar <bram@vim.org> | 2015-06-19 21:06:11 +0200 |
---|---|---|
committer | Bram Moolenaar <bram@vim.org> | 2015-06-19 21:06:11 +0200 |
commit | 54520084936c4e1912476a84939234407cafb4fe (patch) | |
tree | 4fbe508bfb10b65081423658d7d76b3cb81249be | |
parent | bc9e90e7fdac8ea5dbe44325f0d42727eb706765 (diff) | |
download | vim-54520084936c4e1912476a84939234407cafb4fe.tar.gz |
Problem: Buffer overflow.
Solution: Make the buffer larger. (Kazunobu Kuriyama)
-rw-r--r-- | src/eval.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 4505a3e8..dfc2ed3c 100644 --- 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, |