Skip to content

Commit bf9929a

Browse files
authored
standard: supress msan (#15665)
1 parent 7db1a58 commit bf9929a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/standard/password.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ PHP_FUNCTION(password_needs_rehash)
594594
const php_password_algo *old_algo, *new_algo;
595595
zend_string *hash;
596596
zend_string *new_algo_str;
597-
zend_long new_algo_long;
597+
zend_long new_algo_long = 0;
598598
bool new_algo_is_null;
599599
zend_array *options = 0;
600600

@@ -642,7 +642,7 @@ PHP_FUNCTION(password_hash)
642642
{
643643
zend_string *password, *digest = NULL;
644644
zend_string *algo_str;
645-
zend_long algo_long;
645+
zend_long algo_long = 0;
646646
bool algo_is_null;
647647
const php_password_algo *algo;
648648
zend_array *options = NULL;

0 commit comments

Comments
 (0)