From: Pat Eyler Date: 2006-04-27T13:53:27+09:00 Subject: Re: possible defect in ext/openssl/ossl_ans1.c (with fix) On 4/26/06, ville.mattila@stonesoft.com wrote: > > I think this is false positive. [reasonable looking explanation deleted] > > could you use unified diff e.g "diff -pu", it is easier to read. > Happily, diff -p -u -r1.13 ossl_asn1.c --- ext/openssl/ossl_asn1.c 3 Feb 2006 09:15:38 -0000 1.13 +++ ext/openssl/ossl_asn1.c 27 Apr 2006 04:51:23 -0000 @@ -766,7 +766,7 @@ ossl_asn1_decode0(unsigned char **pp, lo if(tag_class == sUNIVERSAL && tag < ossl_asn1_info_size && ossl_asn1_info[tag].klass){ VALUE klass = *ossl_asn1_info[tag].klass; - long flag; + long flag = 0; if(!rb_obj_is_kind_of(value, rb_cArray)){ switch(tag){ case V_ASN1_BOOLEAN: