[28940] in CVS-changelog-for-Kerberos-V5

home help back first fref pref prev next nref lref last post

krb5 commit: Fix make_signedpath_checksum() initialization bug

daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Jun 15 17:50:07 2015

Date: Mon, 15 Jun 2015 17:50:03 -0400
From: Greg Hudson <ghudson@mit.edu>
Message-Id: <201506152150.t5FLo3jK018446@drugstore.mit.edu>
To: cvs-krb5@mit.edu
Reply-To: krbdev@mit.edu
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: cvs-krb5-bounces@mit.edu

https://github.com/krb5/krb5/commit/73efbee640e18ffc53ff4e08c0ce940fb726dcd4
commit 73efbee640e18ffc53ff4e08c0ce940fb726dcd4
Author: Greg Hudson <ghudson@mit.edu>
Date:   Mon Jun 15 17:34:23 2015 -0400

    Fix make_signedpath_checksum() initialization bug
    
    data needs to be initialized since it is freed in the cleanup handler.
    The bug was introduced by 0c6498b2b9f4f4ad8b9f224714c84714425f2ca3 and
    is not part of any release.
    
    ticket: 8139

 src/kdc/kdc_authdata.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/kdc/kdc_authdata.c b/src/kdc/kdc_authdata.c
index 204cd09..193b8c1 100644
--- a/src/kdc/kdc_authdata.c
+++ b/src/kdc/kdc_authdata.c
@@ -555,7 +555,7 @@ make_signedpath_checksum(krb5_context context,
                          krb5_enctype *enctype_out)
 {
     krb5_error_code ret;
-    krb5_data *data;
+    krb5_data *data = NULL;
     krb5_const_principal client;
     krb5_key_data *kd;
     krb5_keyblock tgtkey;
_______________________________________________
cvs-krb5 mailing list
cvs-krb5@mit.edu
https://mailman.mit.edu/mailman/listinfo/cvs-krb5

home help back first fref pref prev next nref lref last post