X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/5abe03d6e87fd6e66d86c6ae1cd2bc6058de0150..99eba67585c79180be72ea10889ae7eec61f9034:/flist.c diff --git a/flist.c b/flist.c index 55a6499d..08a75b26 100644 --- a/flist.c +++ b/flist.c @@ -1228,11 +1228,8 @@ struct file_list *send_file_list(int f, int argc, char *argv[]) } } - if (fn != fbuf) { - if (len >= MAXPATHLEN) - overflow_exit("send_file_list"); + if (fn != fbuf) memmove(fbuf, fn, len + 1); - } if (implied_dirs && (p=strrchr(fbuf,'/')) && p != fbuf) { /* Send the implied directories at the start of the