diff -ru rsync-2.6.9.org/flist.c rsync-2.6.9/flist.c --- rsync-2.6.9.org/flist.c 2006-10-13 21:17:36.000000000 -0400 +++ rsync-2.6.9/flist.c 2007-08-15 17:28:59.000000000 -0400 @@ -735,7 +735,7 @@ lastdir_len = -1; if (strlcpy(thisname, fname, sizeof thisname) - >= sizeof thisname - flist_dir_len) { + >= sizeof thisname - flist_dir_len - 1) { rprintf(FINFO, "skipping overly long name: %s\n", fname); return NULL; }