[SCM] Samba Shared Repository - branch v3-0-test updated -
initial-v3-0-unstable-11-g26d8a1a
Stefan Metzmacher
metze at samba.org
Wed Oct 24 13:32:46 GMT 2007
The branch, v3-0-test has been updated
via 26d8a1ad20c10da495970c584983fbd261b4946e (commit)
from f37f19f817874e885e70456328e0d3693fc24c9c (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-0-test
- Log -----------------------------------------------------------------
commit 26d8a1ad20c10da495970c584983fbd261b4946e
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Oct 24 14:29:06 2007 +0200
[crash fix] don't use already free'ed memory
(found by "make valgrindtest" and my "start winbindd on make test" patch)
metze
(cherry picked from commit fe21e48489852720a05b305b251e4f5cbb200f7a)
-----------------------------------------------------------------------
Summary of changes:
source/groupdb/mapping.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c
index 6520a42..b0e59c0 100644
--- a/source/groupdb/mapping.c
+++ b/source/groupdb/mapping.c
@@ -724,12 +724,12 @@ NTSTATUS pdb_create_builtin_alias(uint32 rid)
return NT_STATUS_ACCESS_DENIED;
}
- DEBUG(10,("Creating alias %s with gid %d\n", name, gid));
+ DEBUG(10,("Creating alias %s with gid %d\n", groupname, gid));
map.gid = gid;
sid_copy(&map.sid, &sid);
map.sid_name_use = SID_NAME_ALIAS;
- fstrcpy(map.nt_name, name);
+ fstrcpy(map.nt_name, groupname);
fstrcpy(map.comment, "");
status = pdb_add_group_mapping_entry(&map);
--
Samba Shared Repository
More information about the samba-cvs
mailing list