diff options
author | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-30 14:42:22 +0100 |
---|---|---|
committer | Jurica Bradaric <jbradaric@gmail.com> | 2016-01-30 14:45:07 +0100 |
commit | 515b7e3effcab07f56d3e3ec74bdd2fae600aa10 (patch) | |
tree | 3f7889e0ac71d64b1e62ff0abae3dc73f4fd87eb /src | |
parent | a984203bd6349a26042998db50b4efc90ae65751 (diff) | |
download | rneovim-515b7e3effcab07f56d3e3ec74bdd2fae600aa10.tar.gz rneovim-515b7e3effcab07f56d3e3ec74bdd2fae600aa10.tar.bz2 rneovim-515b7e3effcab07f56d3e3ec74bdd2fae600aa10.zip |
vim-patch:7.4.748
Problem: Buffer overflow.
Solution: Make the buffer larger. (Kazunobu Kuriyama)
https://github.com/vim/vim/commit/6a7e2a668b492b5b574e489790e349a9058e2a48
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/eval.c | 2 | ||||
-rw-r--r-- | src/nvim/version.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 87d0ae4d88..781f33d484 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -15242,7 +15242,7 @@ static void f_setmatches(typval_T *argvars, typval_T *rettv) li = l->lv_first; 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/nvim/version.c b/src/nvim/version.c index ed586ad04c..0fe438791e 100644 --- a/src/nvim/version.c +++ b/src/nvim/version.c @@ -386,7 +386,7 @@ static int included_patches[] = { // 751 NA // 750 NA // 749, - // 748, + 748, 747, 746, 745, |