diff --git a/ChangeLog b/ChangeLog index 930963b2c4..bc502f4f60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Apr 29 22:43:37 2006 GOTOU Yuuzou + + * ext/openssl/ossl_asn1.c (ossl_asn1_decode0): should initialize + flag. [ruby-core:07785] + Tue Apr 25 18:00:05 2006 Hidetoshi NAGAI * ext/tk/tcltklib.c (delete_slaves): maybe increment the reference diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c index e374964211..1947a42d71 100644 --- a/ext/openssl/ossl_asn1.c +++ b/ext/openssl/ossl_asn1.c @@ -766,7 +766,7 @@ ossl_asn1_decode0(unsigned char **pp, long length, long *offset, long depth, 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: