[PATCH] Dereferencing the NULL pointer.

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



Signed-off-by: krishnaiah bommu <krishnaiah.bommu@xxxxxxxxx>
---
 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

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev



[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux