Skip to content

Commit

Permalink
updated for version 7.3.905
Browse files Browse the repository at this point in the history
Problem:    Crash when writing viminfo. (Ron Aaron)
Solution:   Prevent freed history info to be used.
  • Loading branch information
brammool committed Apr 15, 2013
1 parent 3bb2855 commit b70a473
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/ex_getln.c
Expand Up @@ -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 */
Expand Down
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -728,6 +728,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
905,
/**/
904,
/**/
Expand Down

0 comments on commit b70a473

Please sign in to comment.