Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5abe03d
)
Got rid of the recent paranoid length check because it didn't help
author
Wayne Davison
<wayned@samba.org>
Sat, 14 Oct 2006 01:17:36 +0000
(
01:17
+0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 14 Oct 2006 01:17:36 +0000
(
01:17
+0000)
to silence a code-checker warning.
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
55a6499
..
08a75b2
100644
(file)
--- 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