diff options
Diffstat (limited to 'source3/client')
-rw-r--r-- | source3/client/mount.cifs.c | 2 |
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); |