The ASN.1 decoder for etype_info_entry accidentally throws away the
pointer to s2kparams data. Don't Correctly store the pointer.
Ticket: new
Target_Version: 1.3
Tags: pullup
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15488
dc483132-0cff-0310-8789-
dd5450dbe970
+2003-05-23 Sam Hartman <hartmans@mit.edu>
+
+ * asn1_k_decode.c (asn1_decode_etype_info_entry): Fix logic error
+ that incorrectly set up s2kparams.data
+
2003-05-20 Ezra Peisach <epeisach@bu.edu>
* asn1_k_encode.c (asn1_encode_krb_safe_body): Use
val->salt = 0;
}
if ( tagnum ==2) {
- krb5_octet *params = (krb5_octet *) val->s2kparams.data;
+ krb5_octet *params ;
get_lenfield( val->s2kparams.length, params,
2, asn1_decode_octetstring);
+ val->s2kparams.data = ( char *) params;
} else {
val->s2kparams.data = NULL;
val->s2kparams.length = 0;