diff options
author | Volker Lendecke <vl@samba.org> | 2008-03-28 10:34:37 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-03-28 14:12:34 +0100 |
commit | bfb001526f00c93562bc5b114934c054d74b21ef (patch) | |
tree | 54a066595e3ddefe782709e1685b8559aca7429f /source3/groupdb | |
parent | 2aa7dc8bc6a9ffcb8ee6e205575960678b9ea460 (diff) | |
download | samba-bfb001526f00c93562bc5b114934c054d74b21ef.tar.gz |
Fix a segfault
(This used to be commit 40d1d64c6a2ae128eb3fce0e7f5351b0c5942f30)
Diffstat (limited to 'source3/groupdb')
-rw-r--r-- | source3/groupdb/mapping_tdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/groupdb/mapping_tdb.c b/source3/groupdb/mapping_tdb.c index 9f2b250cca0..d4ee5234054 100644 --- a/source3/groupdb/mapping_tdb.c +++ b/source3/groupdb/mapping_tdb.c @@ -130,7 +130,7 @@ static bool add_mapping_entry(GROUP_MAP *map, int flag) return NULL; } - len = tdb_pack(NULL, sizeof(buf), "ddff", + len = tdb_pack(NULL, 0, "ddff", map->gid, map->sid_name_use, map->nt_name, map->comment); buf = TALLOC_ARRAY(key, char, len); |