We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7db1a58 commit bf9929aCopy full SHA for bf9929a
ext/standard/password.c
@@ -594,7 +594,7 @@ PHP_FUNCTION(password_needs_rehash)
594
const php_password_algo *old_algo, *new_algo;
595
zend_string *hash;
596
zend_string *new_algo_str;
597
- zend_long new_algo_long;
+ zend_long new_algo_long = 0;
598
bool new_algo_is_null;
599
zend_array *options = 0;
600
@@ -642,7 +642,7 @@ PHP_FUNCTION(password_hash)
642
{
643
zend_string *password, *digest = NULL;
644
zend_string *algo_str;
645
- zend_long algo_long;
+ zend_long algo_long = 0;
646
bool algo_is_null;
647
const php_password_algo *algo;
648
zend_array *options = NULL;
0 commit comments