mirror of
https://github.com/openssl/openssl.git
synced 2025-04-24 20:51:14 +08:00
Fix passwd seg fault
Passing the -stdin arg to the passwd command line app *and* supply a password on the command line causes a seg fault. Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
33ea23dc5c
commit
97b04399b6
@ -175,6 +175,7 @@ int passwd_main(int argc, char **argv)
|
||||
if (pw_source_defined)
|
||||
goto opthelp;
|
||||
in_stdin = 1;
|
||||
pw_source_defined = 1;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user