[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Mon Oct 15 03:30:17 MDT 2012


The branch, v3-6-test has been updated
       via  e96f50c s3-libsmb: Initialise ticket to ensure we do not invalid memory
      from  5166e0b s3-printing: Increase debug level for info that the db is empty.

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


- Log -----------------------------------------------------------------
commit e96f50c9bb145a6af2c023e8ff4c3e8888c5a4a6
Author: Andrew Bartlett <abartlet at samba.org>
Date:   Thu Mar 1 16:55:04 2012 +1100

    s3-libsmb: Initialise ticket to ensure we do not invalid memory
    
    The free is however a talloc_free(), which has additional protection against
    freeing the wrong thing.
    
    Andrew Bartlett
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User: Jeremy Allison <jra at samba.org>
    Autobuild-Date: Fri Mar  2 01:45:19 CET 2012 on sn-devel-104
    (cherry picked from commit f1452a296429b79755235f4a480f0d5ea38ce178)
    
    Fix bug #8788 - spnego_parse_krb5_wrap() frees invalid memory.

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

Summary of changes:
 source3/libsmb/clispnego.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/libsmb/clispnego.c b/source3/libsmb/clispnego.c
index a97e1dc..98b575d 100644
--- a/source3/libsmb/clispnego.c
+++ b/source3/libsmb/clispnego.c
@@ -257,6 +257,7 @@ bool spnego_parse_krb5_wrap(TALLOC_CTX *ctx, DATA_BLOB blob, DATA_BLOB *ticket,
 	bool ret;
 	ASN1_DATA *data;
 	int data_remaining;
+	*ticket = data_blob_null;
 
 	data = asn1_init(talloc_tos());
 	if (data == NULL) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list