From: Antony Dovgal Date: Tue, 5 Sep 2006 13:59:26 +0000 (+0000) Subject: MFH: init variables X-Git-Tag: php-5.2.0RC4~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=52d0f82dc3875474ff77d1757172e9dd5b1569cb;p=php MFH: init variables --- diff --git a/ext/openssl/openssl.c b/ext/openssl/openssl.c index ece6eab5de..8572462bc1 100644 --- a/ext/openssl/openssl.c +++ b/ext/openssl/openssl.c @@ -1339,7 +1339,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) { - char * strindex; uint strindexlen; + char * strindex = NULL; + uint strindexlen = 0; ulong intindex; zend_hash_get_current_key_ex(HASH_OF(dn), &strindex, &strindexlen, &intindex, 0, &hpos);