We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2053af6 commit a145b40Copy full SHA for a145b40
ext/standard/password.c
@@ -589,9 +589,9 @@ PHP_FUNCTION(password_needs_rehash)
589
const php_password_algo *old_algo, *new_algo;
590
zend_string *hash;
591
zend_string *new_algo_str;
592
- zend_long new_algo_long;
+ zend_long new_algo_long = 0;
593
bool new_algo_is_null;
594
- zend_array *options = 0;
+ zend_array *options = NULL;
595
596
ZEND_PARSE_PARAMETERS_START(2, 3)
597
Z_PARAM_STR(hash)
@@ -637,7 +637,7 @@ PHP_FUNCTION(password_hash)
637
{
638
zend_string *password, *digest = NULL;
639
zend_string *algo_str;
640
- zend_long algo_long;
+ zend_long algo_long = 0;
641
bool algo_is_null;
642
const php_password_algo *algo;
643
zend_array *options = NULL;
0 commit comments