[PATCH] Dereferencing the NULL pointer.
krishnaiah bommu
krishnaiah.bommu at intel.com
Mon Oct 14 21:05:21 AEDT 2019
Signed-off-by: krishnaiah bommu <krishnaiah.bommu at intel.com>
---
auth.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/auth.c b/auth.c
index ca450f4..aa0d8cc 100644
--- a/auth.c
+++ b/auth.c
@@ -488,8 +488,7 @@ check_key_in_hostfiles(struct passwd *pw, struct sshkey *key, const char *host,
}
host_status = check_key_in_hostkeys(hostkeys, key, &found);
if (host_status == HOST_REVOKED)
- error("WARNING: revoked key for %s attempted authentication",
- found->host);
+ error("WARNING: revoked key for attempted authentication");
else if (host_status == HOST_OK)
debug("%s: key for %s found at %s:%ld", __func__,
found->host, found->file, found->line);
--
2.7.4
More information about the openssh-unix-dev
mailing list