new warnings in build with pkinit code

Kevin Coffman kwc at citi.umich.edu
Wed Aug 8 13:12:48 EDT 2007


On 8/8/07, Ken Raeburn <raeburn at mit.edu> wrote:
> 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.

Agreed.  Thanks, I'm looking into this.

K.C.



More information about the krbdev mailing list