mirror of
https://github.com/php/php-src.git
synced 2024-12-15 21:05:51 +08:00
fix uninitialized var that may lead to crash
This commit is contained in:
parent
d36263b7bb
commit
d705b11a1e
@ -4697,7 +4697,7 @@ PHP_FUNCTION(openssl_encrypt)
|
||||
int data_len, method_len, password_len, iv_len = 0, max_iv_len;
|
||||
const EVP_CIPHER *cipher_type;
|
||||
EVP_CIPHER_CTX cipher_ctx;
|
||||
int i, outlen, keylen;
|
||||
int i=0, outlen, keylen;
|
||||
unsigned char *outbuf, *key;
|
||||
zend_bool free_iv;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user