From f455772b99dec88ae0eafc3206d42d88de89461d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 6 May 2011 14:49:36 +1000 Subject: s3-winbind: another strlcpy()/fstring fix Autobuild-User: Andrew Tridgell Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104 --- source3/winbindd/idmap_hash/mapfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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 */ -- cgit