Skip to content

Commit 515c68e

Browse files
committed
updated for version 7.4a.002
Problem: Valgrind errors in test 89. (Simon Ruderich) Solution: Allocate one more byte. (Dominique Pelle)
1 parent 2ffd2ee commit 515c68e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/misc2.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4712,7 +4712,8 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
47124712
{
47134713
wc_path = vim_strsave(search_ctx->ffsc_wc_path);
47144714
temp = alloc((int)(STRLEN(search_ctx->ffsc_wc_path)
4715-
+ (STRLEN(search_ctx->ffsc_fix_path)) - len));
4715+
+ STRLEN(search_ctx->ffsc_fix_path + len)
4716+
+ 1));
47164717
}
47174718

47184719
if (temp == NULL || wc_path == NULL)

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -728,6 +728,8 @@ static char *(features[]) =
728728

729729
static int included_patches[] =
730730
{ /* Add new patch number below this line */
731+
/**/
732+
2,
731733
/**/
732734
1,
733735
/**/

0 commit comments

Comments
 (0)