Missed one strcpy call.
[tprouty/samba.git] / source / client / mount.cifs.c
index 4b1f6386f44f181ce9c5909260a9a7419349040f..33aa657c68f10d7184e1f2a83587ce0042aa84ee 100755 (executable)
@@ -757,7 +757,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);