From: Bram Moolenaar Date: Mon, 15 Apr 2013 20:22:57 +0000 (+0200) Subject: updated for version 7.3.905 X-Git-Tag: v7.3.905 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b70a473e24e36fd14361ece54da37e3ca7155fdd;p=thirdparty%2Fvim.git updated for version 7.3.905 Problem: Crash when writing viminfo. (Ron Aaron) Solution: Prevent freed history info to be used. --- diff --git a/src/ex_getln.c b/src/ex_getln.c index a7a1409b0a..740cca2048 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -6264,6 +6264,7 @@ write_viminfo_history(fp) vim_free(viminfo_history[type][i]); vim_free(viminfo_history[type]); viminfo_history[type] = NULL; + viminfo_hisidx[type] = 0; } } #endif /* FEAT_VIMINFO */ diff --git a/src/version.c b/src/version.c index 0e84a049e2..c745b1c4a3 100644 --- a/src/version.c +++ b/src/version.c @@ -728,6 +728,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 905, /**/ 904, /**/