Initialize ctx->pwdlen in argon2 string decoder
This commit is contained in:
parent
82c7c45924
commit
d1b028abe3
@ -293,6 +293,7 @@ int decode_string(argon2_context *ctx, const char *str, argon2_type type) {
|
||||
ctx->adlen = 0;
|
||||
ctx->saltlen = 0;
|
||||
ctx->outlen = 0;
|
||||
ctx->pwdlen = 0;
|
||||
if (type == Argon2_i) {
|
||||
CC("$argon2i");
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user