[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-4269-ge3550c2

Volker Lendecke vlendec at samba.org
Mon Oct 20 16:33:54 GMT 2008


The branch, v3-3-test has been updated
       via  e3550c235e6a59749c1e57b469289069f7e541d4 (commit)
      from  4833f678ba194665e9c0554f9da37ddca269714e (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit e3550c235e6a59749c1e57b469289069f7e541d4
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Oct 20 18:25:13 2008 +0200

    Fix a valgrind error in idmap_ad_sids_to_unixids()
    
    We need to initialize all mappings in case we don't find anything.
    
    Simo, please check!
    
    Volker

-----------------------------------------------------------------------

Summary of changes:
 source/winbindd/idmap_ad.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/winbindd/idmap_ad.c b/source/winbindd/idmap_ad.c
index 8144d87..60a2d86 100644
--- a/source/winbindd/idmap_ad.c
+++ b/source/winbindd/idmap_ad.c
@@ -517,6 +517,8 @@ again:
 	bidx = idx;
 	for (i = 0; (i < IDMAP_AD_MAX_IDS) && ids[idx]; i++, idx++) {
 
+		ids[idx]->status = ID_UNKNOWN;
+
 		sidstr = sid_binstring(ids[idx]->sid);
 		filter = talloc_asprintf_append_buffer(filter, "(objectSid=%s)", sidstr);
 			


-- 
Samba Shared Repository


More information about the samba-cvs mailing list