git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c295670
)
winbind3: Use fstrcpy
author
Volker Lendecke
<vl@samba.org>
Thu, 30 Jan 2014 14:17:35 +0000
(14:17 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 4 Feb 2014 22:29:25 +0000
(11:29 +1300)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/wb_fill_pwent.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/wb_fill_pwent.c
b/source3/winbindd/wb_fill_pwent.c
index cd0ca500b34f8b499b79d289ff5a5d237234668e..359946f1729c968dfdcf7c1325835d709a9d0195 100644
(file)
--- a/
source3/winbindd/wb_fill_pwent.c
+++ b/
source3/winbindd/wb_fill_pwent.c
@@
-238,7
+238,7
@@
static bool fillup_pw_field(const char *lp_template,
if (!templ)
return False;
-
strlcpy(out, templ, sizeof(fstring)
);
+
fstrcpy(out, templ
);
TALLOC_FREE(templ);
return True;