From 52d0f82dc3875474ff77d1757172e9dd5b1569cb Mon Sep 17 00:00:00 2001 From: Antony Dovgal Date: Tue, 5 Sep 2006 13:59:26 +0000 Subject: [PATCH] MFH: init variables --- ext/openssl/openssl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.50.1