[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/krb5/devel krb5-1.6-ldap-init.patch,NONE,1.1



Author: nalin

Update of /cvs/pkgs/rpms/krb5/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30494

Added Files:
	krb5-1.6-ldap-init.patch 
Log Message:
- fix an unitialized length count which caused the plugin to attempt to
  read from an uninitialized pointer when reading back salted key which didn't
  include a non-default salt


krb5-1.6-ldap-init.patch:

--- NEW FILE krb5-1.6-ldap-init.patch ---
Index: src/lib/krb5/asn.1/ldap_key_seq.c
===================================================================
--- src/lib/krb5/asn.1/ldap_key_seq.c	(revision 19509)
+++ src/lib/krb5/asn.1/ldap_key_seq.c	(working copy)
@@ -341,7 +341,8 @@
 	if (asn1buf_remains(&slt, 0) != 0) { /* Salt value is optional */
 	    ret = decode_tagged_octetstring (&slt, 1, &keylen,
 		    &key->key_data_contents[1]); checkerr;
-	}
+	} else
+	    keylen = 0;
 	safe_syncbuf (&subbuf, &slt);
 	key->key_data_length[1] = keylen; /* XXX range check?? */
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]