From: Pauli Date: Tue, 7 Mar 2017 00:12:05 +0000 (+1000) Subject: Increase the password buffer size to APP_PASS_LEN. X-Git-Tag: OpenSSL_1_1_0f~175 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bf1c92faf6d3adba62165432164f5732da3d99c9;p=oweals%2Fopenssl.git Increase the password buffer size to APP_PASS_LEN. Reviewed-by: Richard Levitte Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/2868) (cherry picked from commit bf580d5f30368f7ebc4c44f10575b5f0b411d594) --- diff --git a/apps/pkcs8.c b/apps/pkcs8.c index 93ffdd55e8..4b3fa10d23 100644 --- a/apps/pkcs8.c +++ b/apps/pkcs8.c @@ -66,7 +66,7 @@ int pkcs8_main(int argc, char **argv) char *infile = NULL, *outfile = NULL; char *passinarg = NULL, *passoutarg = NULL, *prog; #ifndef OPENSSL_NO_UI - char pass[50]; + char pass[APP_PASS_LEN]; #endif char *passin = NULL, *passout = NULL, *p8pass = NULL; OPTION_CHOICE o;