diff options
| author | Wayne Davison <wayned@samba.org> | 2006-10-14 01:17:36 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2006-10-14 01:17:36 +0000 |
| commit | 99eba67585c79180be72ea10889ae7eec61f9034 (patch) | |
| tree | 908240d43467573236ca8f82d43382b1e314dea3 /flist.c | |
| parent | 5abe03d6e87fd6e66d86c6ae1cd2bc6058de0150 (diff) | |
| download | android_external_rsync-99eba67585c79180be72ea10889ae7eec61f9034.tar.gz android_external_rsync-99eba67585c79180be72ea10889ae7eec61f9034.tar.bz2 android_external_rsync-99eba67585c79180be72ea10889ae7eec61f9034.zip | |
Got rid of the recent paranoid length check because it didn't help
to silence a code-checker warning.
Diffstat (limited to 'flist.c')
| -rw-r--r-- | flist.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |
