Commit d73ca3ef authored by Matt Caswell's avatar Matt Caswell
Browse files

Remove an NULL ptr deref in an error path



The |passwd| variable in the code can be NULL if it goes to the err label.
Therefore we cannot call strlen on it without first checking that it is non
NULL.

Reviewed-by: default avatarKurt Roeckx <kurt@openssl.org>
parent e4693b4e
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment