mirror of https://github.com/openssl/openssl
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…
Reference in New Issue