mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4a.002
Problem: Valgrind errors in test 89. (Simon Ruderich) Solution: Allocate one more byte. (Dominique Pelle)
This commit is contained in:
@@ -4712,7 +4712,8 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
|
||||
{
|
||||
wc_path = vim_strsave(search_ctx->ffsc_wc_path);
|
||||
temp = alloc((int)(STRLEN(search_ctx->ffsc_wc_path)
|
||||
+ (STRLEN(search_ctx->ffsc_fix_path)) - len));
|
||||
+ STRLEN(search_ctx->ffsc_fix_path + len)
|
||||
+ 1));
|
||||
}
|
||||
|
||||
if (temp == NULL || wc_path == NULL)
|
||||
|
@@ -728,6 +728,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
2,
|
||||
/**/
|
||||
1,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user