summaryrefslogtreecommitdiff
path: root/source3/client
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-12 19:12:18 -0800
committerJeremy Allison <jra@samba.org>2007-12-12 19:12:18 -0800
commit96591dd868a7c07d69623814d0bc4eaa107f0c89 (patch)
treea4ea5fe62b702f1a127fc5ced85bba2b729c3654 /source3/client
parent48081e07a334779c765cff30dfdbdfd66fb4546b (diff)
downloadsamba-96591dd868a7c07d69623814d0bc4eaa107f0c89.tar.gz
samba-96591dd868a7c07d69623814d0bc4eaa107f0c89.tar.bz2
samba-96591dd868a7c07d69623814d0bc4eaa107f0c89.zip
Missed one strcpy call.
Jeremy. (This used to be commit b215fb1ad0d5bb3fa7084c2773845ce1dffb2173)
Diffstat (limited to 'source3/client')
-rw-r--r--source3/client/mount.cifs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/mount.cifs.c b/source3/client/mount.cifs.c
index 917942dbc3..f141e8e4c7 100644
--- a/source3/client/mount.cifs.c
+++ b/source3/client/mount.cifs.c
@@ -756,7 +756,7 @@ static char * check_for_domain(char **ppuser)
if(domainnm == NULL)
return NULL;
- strcpy(domainnm,*ppuser);
+ strlcpy(domainnm,*ppuser,len+1);
/* move_string(*ppuser, usernm+1) */
len = strlen(usernm+1);