X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/cad8f6f980f4782a6113a5d3ea49ad8d8504aece..91f4b31fe1031adc3ec3e3066534c9d6be979d21:/exclude.c diff --git a/exclude.c b/exclude.c index eb2353c0..0da15b23 100644 --- a/exclude.c +++ b/exclude.c @@ -298,7 +298,7 @@ static char *parse_merge_name(const char *merge_file, unsigned int *len_ptr, strlcpy(to, merge_file, *len_ptr + 1); merge_file = to; } - if (!sanitize_path(fn, merge_file, r, dirbuf_depth)) { + if (!sanitize_path(fn, merge_file, r, dirbuf_depth, NULL)) { rprintf(FERROR, "merge-file name overflows: %s\n", merge_file); return NULL;