git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fc8ad8
)
s3-winbind: another strlcpy()/fstring fix
author
Andrew Tridgell
<tridge@samba.org>
Fri, 6 May 2011 04:49:36 +0000
(14:49 +1000)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 6 May 2011 05:50:33 +0000
(07:50 +0200)
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104
source3/winbindd/idmap_hash/mapfile.c
patch
|
blob
|
history
diff --git
a/source3/winbindd/idmap_hash/mapfile.c
b/source3/winbindd/idmap_hash/mapfile.c
index 1183328a3f165fb7593e4dbc330daef036eb7b90..075f0f25cc42958350d2fc22c0273580300e6c79 100644
(file)
--- a/
source3/winbindd/idmap_hash/mapfile.c
+++ b/
source3/winbindd/idmap_hash/mapfile.c
@@
-87,8
+87,8
@@
static bool mapfile_read_line(fstring key, fstring value)
*p = '\0';
p++;
- strlcpy(key, buffer, sizeof(
key
));
- strlcpy(value, p, sizeof(
value
));
+ strlcpy(key, buffer, sizeof(
fstring
));
+ strlcpy(value, p, sizeof(
fstring
));
/* Eat whitespace */