diff options
author | Matt Caswell <matt@openssl.org> | 2016-04-26 18:00:33 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-04-27 10:17:37 +0200 |
commit | 97b04399b6b20d59ce4898def02011ee80914638 (patch) | |
tree | 33d4d3c370fc23d9aeef0b61816674e8ad35671b /apps/passwd.c | |
parent | SPARCv9 assembly pack: fine-tune run-time switch. (diff) | |
download | openssl-97b04399b6b20d59ce4898def02011ee80914638.tar.xz openssl-97b04399b6b20d59ce4898def02011ee80914638.zip |
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>
Diffstat (limited to 'apps/passwd.c')
-rw-r--r-- | apps/passwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/passwd.c b/apps/passwd.c index 98092bb04b..2f114db05c 100644 --- a/apps/passwd.c +++ b/apps/passwd.c @@ -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; } } |