git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eff2b36
)
Missed one strcpy call.
author
Jeremy Allison
<jra@samba.org>
Thu, 13 Dec 2007 03:12:18 +0000
(19:12 -0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 13 Dec 2007 03:12:18 +0000
(19:12 -0800)
Jeremy.
source/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source/client/mount.cifs.c
b/source/client/mount.cifs.c
index 917942dbc3598adfed7522e872f98631622e7193..f141e8e4c7a8698bda04f6f1da98829906f76cfa 100644
(file)
--- a/
source/client/mount.cifs.c
+++ b/
source/client/mount.cifs.c
@@
-756,7
+756,7
@@
static char * check_for_domain(char **ppuser)
if(domainnm == NULL)
return NULL;
- str
cpy(domainnm,*ppuser
);
+ str
lcpy(domainnm,*ppuser,len+1
);
/* move_string(*ppuser, usernm+1) */
len = strlen(usernm+1);