From: Antony Dovgal Date: Tue, 5 Sep 2006 13:59:08 +0000 (+0000) Subject: init variables X-Git-Tag: RELEASE_1_0_0RC1~1768 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4c6db31984eb4a156214bdf67338f92adf172b33;p=php init variables --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index e4526a40a0..54993c0710 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1302,8 +1302,8 @@ static int php_openssl_make_REQ(struct php_x509_request * req, X509_REQ * csr, z /* apply values from the dn hash */ zend_hash_internal_pointer_reset_ex(HASH_OF(dn), &hpos); while(zend_hash_get_current_data_ex(HASH_OF(dn), (void**)&item, &hpos) == SUCCESS) { - zstr strindex; - uint strindexlen; + zstr strindex = NULL_ZSTR; + uint strindexlen = 0; ulong intindex; zend_hash_get_current_key_ex(HASH_OF(dn), &strindex, &strindexlen, &intindex, 0, &hpos);