Commit 97b04399 authored by Matt Caswell's avatar Matt Caswell
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
parent 33ea23dc
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;
        }
    }