mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
fix uninitialized var that may lead to crash
This commit is contained in:
parent
d36263b7bb
commit
d705b11a1e
1 changed files with 1 additions and 1 deletions
|
@ -4697,7 +4697,7 @@ PHP_FUNCTION(openssl_encrypt)
|
||||||
int data_len, method_len, password_len, iv_len = 0, max_iv_len;
|
int data_len, method_len, password_len, iv_len = 0, max_iv_len;
|
||||||
const EVP_CIPHER *cipher_type;
|
const EVP_CIPHER *cipher_type;
|
||||||
EVP_CIPHER_CTX cipher_ctx;
|
EVP_CIPHER_CTX cipher_ctx;
|
||||||
int i, outlen, keylen;
|
int i=0, outlen, keylen;
|
||||||
unsigned char *outbuf, *key;
|
unsigned char *outbuf, *key;
|
||||||
zend_bool free_iv;
|
zend_bool free_iv;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue