summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-05-06 14:49:36 +1000
committerAndrew Tridgell <tridge@samba.org>2011-05-06 07:50:33 +0200
commitf455772b99dec88ae0eafc3206d42d88de89461d (patch)
tree9ca1ccc432517fbffcf7448594e90fcdae9cfb29 /source3/winbindd
parent2fc8ad88871bf8287e22cc13cea5d4dc4ddbeb61 (diff)
downloadsamba-f455772b99dec88ae0eafc3206d42d88de89461d.tar.gz
samba-f455772b99dec88ae0eafc3206d42d88de89461d.tar.bz2
samba-f455772b99dec88ae0eafc3206d42d88de89461d.zip
s3-winbind: another strlcpy()/fstring fix
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/idmap_hash/mapfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_hash/mapfile.c b/source3/winbindd/idmap_hash/mapfile.c
index 1183328a3f..075f0f25cc 100644
--- 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 */