From 23bd58fdc3ea900cb6b89d3f69c746a0fc8b3bde Mon Sep 17 00:00:00 2001 From: Joe Orton Date: Fri, 1 May 2020 08:17:32 +0000 Subject: * support/passwd_common.c (mkhash): Fix salt buffer size for SHA2 (caught by gcc 10). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1877251 13f79535-47bb-0310-9956-ffa450edef68 --- support/passwd_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'support') diff --git a/support/passwd_common.c b/support/passwd_common.c index d45657cc26..62e48437ce 100644 --- a/support/passwd_common.c +++ b/support/passwd_common.c @@ -179,7 +179,7 @@ err_too_long: int mkhash(struct passwd_ctx *ctx) { char *pw; - char salt[16]; + char salt[17]; apr_status_t rv; int ret = 0; #if CRYPT_ALGO_SUPPORTED -- cgit v1.2.3