diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-05-06 14:49:36 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-05-06 07:50:33 +0200 |
commit | f455772b99dec88ae0eafc3206d42d88de89461d (patch) | |
tree | 9ca1ccc432517fbffcf7448594e90fcdae9cfb29 | |
parent | 2fc8ad88871bf8287e22cc13cea5d4dc4ddbeb61 (diff) | |
download | samba-f455772b99dec88ae0eafc3206d42d88de89461d.tar.gz |
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
-rw-r--r-- | source3/winbindd/idmap_hash/mapfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/idmap_hash/mapfile.c b/source3/winbindd/idmap_hash/mapfile.c index 1183328a3f1..075f0f25cc4 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 */ |