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:
9059e0a
)
Changed one strcpy() into a strlcpy().
author
Wayne Davison
<wayned@samba.org>
Sat, 17 Sep 2005 21:49:24 +0000
(21:49 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sat, 17 Sep 2005 21:49:24 +0000
(21:49 +0000)
flist.c
patch
|
blob
|
blame
|
history
diff --git
a/flist.c
b/flist.c
index
1a259bc
..
1f11193
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-1176,7
+1176,7
@@
struct file_list *send_file_list(int f, int argc, char *argv[])
static char *lastdir;
static int lastdir_len;
- str
cpy(olddir, curr_dir); /* can't overflow */
+ str
lcpy(olddir, curr_dir, sizeof olddir);
if (!push_dir(dir)) {
io_error |= IOERR_GENERAL;