svn rev #21805: trunk/src/lib/krb5/asn.1/

lhoward@MIT.EDU lhoward at MIT.EDU
Mon Jan 26 17:50:03 EST 2009


http://src.mit.edu/fisheye/changelog/krb5/?cs=21805
Commit By: lhoward
Log Message:
In asn1_decode_pa_for_user(), ensure that user member is allocated
before assigning a value to it.



Changed Files:
U   trunk/src/lib/krb5/asn.1/asn1_k_decode.c
Modified: trunk/src/lib/krb5/asn.1/asn1_k_decode.c
===================================================================
--- trunk/src/lib/krb5/asn.1/asn1_k_decode.c	2009-01-26 22:03:52 UTC (rev 21804)
+++ trunk/src/lib/krb5/asn.1/asn1_k_decode.c	2009-01-26 22:50:02 UTC (rev 21805)
@@ -1208,6 +1208,7 @@
 {
     setup();
     { begin_structure();
+	alloc_field(val->user, krb5_principal_data);
         get_field(val->user,0,asn1_decode_principal_name);
         get_field(val->user,1,asn1_decode_realm);
         get_field(val->cksum,2,asn1_decode_checksum);




More information about the cvs-krb5 mailing list