[SCM] Samba Shared Repository - branch master updated

Andrew Tridgell tridge at samba.org
Mon Dec 7 21:17:05 MST 2009


The branch, master has been updated
       via  29c87ef... s4-heimdal: fixed a use-after-free heimdal bug
      from  cc9d4d5... s4-drs: use -r to ldbdel in unvampire devel script

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 29c87ef830c2563c7b7dbcc0287b2e673dc6e1db
Author: Andrew Tridgell <tridge at samba.org>
Date:   Tue Dec 8 15:15:41 2009 +1100

    s4-heimdal: fixed a use-after-free heimdal bug
    
    This caused samba4kinit to segfault on some systems

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

Summary of changes:
 source4/heimdal/lib/krb5/init_creds_pw.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/heimdal/lib/krb5/init_creds_pw.c b/source4/heimdal/lib/krb5/init_creds_pw.c
index 5363d53..b615f53 100644
--- a/source4/heimdal/lib/krb5/init_creds_pw.c
+++ b/source4/heimdal/lib/krb5/init_creds_pw.c
@@ -1463,6 +1463,7 @@ krb5_init_creds_set_keytab(krb5_context context,
 	    /* remove old list of etype */
 	    if (etypes)
 		free(etypes);
+	    etypes = NULL;
 	    netypes = 0;
 	    kvno = entry.vno;
 	} else if (entry.vno != kvno)


-- 
Samba Shared Repository


More information about the samba-cvs mailing list