Skip to content

Commit 0e44c98

Browse files
committed
Fix uninitialized vars
1 parent 8f35685 commit 0e44c98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sodium/libsodium.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1935,7 +1935,7 @@ PHP_FUNCTION(sodium_crypto_pwhash_str_needs_rehash)
19351935
size_t hash_str_len;
19361936

19371937
if (zend_parse_parameters_throw(ZEND_NUM_ARGS(), "sll",
1938-
&hash_str, &hash_str_len) == FAILURE) {
1938+
&hash_str, &hash_str_len, &opslimit, &memlimit) == FAILURE) {
19391939
zend_throw_exception(sodium_exception_ce, "a PHP string is required", 0);
19401940
return;
19411941
}

0 commit comments

Comments
 (0)