From 515b7e3effcab07f56d3e3ec74bdd2fae600aa10 Mon Sep 17 00:00:00 2001 From: Jurica Bradaric Date: Sat, 30 Jan 2016 14:42:22 +0100 Subject: [PATCH] vim-patch:7.4.748 Problem: Buffer overflow. Solution: Make the buffer larger. (Kazunobu Kuriyama) https://github.com/vim/vim/commit/6a7e2a668b492b5b574e489790e349a9058e2a48 --- src/nvim/eval.c | 2 +- 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,