new warnings in build with pkinit code

Ken Raeburn raeburn at MIT.EDU
Wed Aug 8 01:30:01 EDT 2007


lib/krb5/asn.1/asn1_k_decode.c: In function  
'asn1_decode_algorithm_identifier':
lib/krb5/asn.1/asn1_k_decode.c:1346: warning: 'asn1class' is used  
uninitialized in this function
lib/krb5/asn.1/asn1_k_decode.c:1346: warning: 'tagnum' is used  
uninitialized in this function
lib/krb5/asn.1/asn1_k_decode.c:1346: warning: 'indef' is used  
uninitialized in this function

It looks to me like these values will control how the processing is  
done at the end of the structure (e.g., whether to look for the tail  
end of an indefinite encoding), so leaving them uninitialized is a  
bad idea.

Ken



More information about the krbdev mailing list